[libcpu][arm][cortex-m23] Change exception return call address to 0xFFFFFFFD
This commit is contained in:
parent
2d2c20cd45
commit
1f2a7b564c
|
@ -137,7 +137,7 @@ pendsv_exit:
|
||||||
/* restore interrupt */
|
/* restore interrupt */
|
||||||
MSR PRIMASK, R2
|
MSR PRIMASK, R2
|
||||||
|
|
||||||
MOVS R0, #0x04
|
MOVS R0, #0x03
|
||||||
RSBS R0, R0, #0x00
|
RSBS R0, R0, #0x00
|
||||||
BX R0
|
BX R0
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -139,7 +139,7 @@ pendsv_exit
|
||||||
; restore interrupt
|
; restore interrupt
|
||||||
MSR PRIMASK, r2
|
MSR PRIMASK, r2
|
||||||
|
|
||||||
MOVS r0, #0x04
|
MOVS r0, #0x03
|
||||||
RSBS r0, r0, #0x00
|
RSBS r0, r0, #0x00
|
||||||
BX r0
|
BX r0
|
||||||
|
|
||||||
|
|
|
@ -143,7 +143,7 @@ pendsv_exit
|
||||||
; restore interrupt
|
; restore interrupt
|
||||||
MSR PRIMASK, r2
|
MSR PRIMASK, r2
|
||||||
|
|
||||||
MOVS r0, #0x04
|
MOVS r0, #0x03
|
||||||
RSBS r0, r0, #0x00
|
RSBS r0, r0, #0x00
|
||||||
BX r0
|
BX r0
|
||||||
ENDP
|
ENDP
|
||||||
|
|
Loading…
Reference in New Issue