mirror of
https://github.com/FreeRTOS/FreeRTOS.git
synced 2025-06-26 19:49:04 +08:00
Move the ehb instruction in the PIC32/MPLAB port layer.
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user