forked from Imagelibrary/rtems
2000-12-19 Joel Sherrill <joel@OARcorp.com>
* cpu_asm.S (_ISR_Handler): Return to the address in the EPC register. Previous code resulting in the interrupted immediately returning to the caller of the routine it was inside.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2000-12-19 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* cpu_asm.S (_ISR_Handler): Return to the address in the EPC register.
|
||||
Previous code resulting in the interrupted immediately returning
|
||||
to the caller of the routine it was inside.
|
||||
|
||||
2000-12-19 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* cpu.c (_CPU_Initialize): Do not initialize _ISR_Vector_table() here
|
||||
|
||||
@@ -909,9 +909,11 @@ _ISR_Handler_exit:
|
||||
.set at
|
||||
|
||||
addiu sp,sp,EXCP_STACK_SIZE
|
||||
|
||||
mfc0 k0, C0_EPC
|
||||
|
||||
rfe /* Might not need to do RFE here... */
|
||||
j ra
|
||||
j k0
|
||||
nop
|
||||
|
||||
.set reorder
|
||||
|
||||
Reference in New Issue
Block a user