Move the ehb instruction in the PIC32/MPLAB port layer.

This commit is contained in:
Richard Barry 2011-05-13 10:42:16 +00:00
parent f95c8efb63
commit 1f452ffdc3
2 changed files with 3 additions and 3 deletions

View file

@ -208,8 +208,8 @@
addiu sp, sp, portCONTEXT_SIZE
mtc0 k0, _CP0_STATUS
ehb
mtc0 k1, _CP0_EPC
ehb
eret
nop

View file

@ -284,9 +284,9 @@ vPortYieldISR:
/* Remove stack frame. */
addiu sp, sp, portCONTEXT_SIZE
mtc0 k1, _CP0_STATUS
ehb
mtc0 k1, _CP0_STATUS
mtc0 k0, _CP0_EPC
ehb
eret
nop