minor mods to get to compile locally

This commit is contained in:
Joel Sherrill
1996-03-21 20:20:40 +00:00
parent 487a7ca5f7
commit 8cf884279f
2 changed files with 4 additions and 3 deletions

View File

@@ -229,7 +229,7 @@ int main(
Cpu_table.interrupt_stack_size = 4096; 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. * Don't forget the other CPU Table entries.

View File

@@ -129,10 +129,11 @@ _Init68360 (void)
/* /*
* Step 13: Copy the exception vector table to system RAM * 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) for (i = 0; i < 256; ++i)
M68Kvec[i] = vbr[i]; M68Kvec[i] = vbr[i];
asm volatile ("movec %0,vbr" : : "r" (M68Kvec)); m68k_set_vbr( M68Kvec );
/* /*
* Step 14: More system initialization * Step 14: More system initialization