forked from Imagelibrary/rtems
minor mods to get to compile locally
This commit is contained in:
@@ -229,7 +229,7 @@ int main(
|
||||
|
||||
Cpu_table.interrupt_stack_size = 4096;
|
||||
|
||||
Cpu_table.extra_system_initialization_stack = 0;
|
||||
Cpu_table.extra_mpci_receive_server_stack = 0;
|
||||
|
||||
/*
|
||||
* Don't forget the other CPU Table entries.
|
||||
|
||||
@@ -129,10 +129,11 @@ _Init68360 (void)
|
||||
/*
|
||||
* Step 13: Copy the exception vector table to system RAM
|
||||
*/
|
||||
asm volatile ("movec vbr,%0" : "=r" (vbr) : );
|
||||
|
||||
m68k_get_vbr( vbr );
|
||||
for (i = 0; i < 256; ++i)
|
||||
M68Kvec[i] = vbr[i];
|
||||
asm volatile ("movec %0,vbr" : : "r" (M68Kvec));
|
||||
m68k_set_vbr( M68Kvec );
|
||||
|
||||
/*
|
||||
* Step 14: More system initialization
|
||||
|
||||
Reference in New Issue
Block a user