mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-05-01 19:02:00 -04:00
Move the ehb instruction in the PIC32/MPLAB port layer.
This commit is contained in:
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…
Reference in a new issue