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:
Joel Sherrill
2000-12-19 16:46:29 +00:00
parent 3ad7c5d2f5
commit 87e8f25ad7
4 changed files with 18 additions and 2 deletions

View File

@@ -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

View File

@@ -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