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

pull/1/head
Richard Barry 14 years ago
parent f95c8efb63
commit 1f452ffdc3

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

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

Loading…
Cancel
Save