<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4134.100" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>hello,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Does anyone can explain why ' format_id = slot
<< 2' ?<BR></FONT></DIV>
<DIV><FONT face=Arial
size=2>************************************************************</FONT></DIV>
<DIV><FONT face=Arial size=2>void _CPU_Initialize(<BR>
rtems_cpu_table *cpu_table,<BR> void
(*thread_dispatch) /* ignored on this CPU
*/<BR>)<BR>{<BR>#if ( M68K_HAS_VBR == 0 )<BR> /* fill the isr redirect
table with the code to place the format/id<BR> onto the
stack */</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> unsigned32 slot;</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> for (slot = 0; slot <
CPU_INTERRUPT_NUMBER_OF_VECTORS; slot++)<BR> {<BR>
_CPU_ISR_jump_table[slot].move_a7 = M68K_MOVE_A7;<BR>
_CPU_ISR_jump_table[slot].format_id = slot << 2;<BR>
_CPU_ISR_jump_table[slot].jmp = M68K_JMP;<BR>
_CPU_ISR_jump_table[slot].isr_handler = (unsigned32) 0xDEADDEAD;<BR>
}<BR>#endif /* M68K_HAS_VBR */</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> _CPU_Table = *cpu_table;<BR>}</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>
<DIV><FONT face=Arial
size=2>************************************************************</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>thanks a lot.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Stan</FONT></DIV></DIV></BODY></HTML>