diff options
| author | xuzhuoyi <[email protected]> | 2020-06-18 10:53:34 +0800 |
|---|---|---|
| committer | xuzhuoyi <[email protected]> | 2020-06-18 10:53:34 +0800 |
| commit | 1f2a7b564cca0610b246db11a035504ce9d9d1c7 (patch) | |
| tree | 00c36e05796659875604412caacc8b0d48245e8f | |
| parent | 2d2c20cd45b939de0fde27979bdf0075e9a0cf41 (diff) | |
[libcpu][arm][cortex-m23] Change exception return call address to 0xFFFFFFFD
| -rw-r--r-- | libcpu/arm/cortex-m23/context_gcc.S | 2 | ||||
| -rw-r--r-- | libcpu/arm/cortex-m23/context_iar.S | 2 | ||||
| -rw-r--r-- | libcpu/arm/cortex-m23/context_rvds.S | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/libcpu/arm/cortex-m23/context_gcc.S b/libcpu/arm/cortex-m23/context_gcc.S index 067348181d..48f90413d9 100644 --- a/libcpu/arm/cortex-m23/context_gcc.S +++ b/libcpu/arm/cortex-m23/context_gcc.S @@ -137,7 +137,7 @@ pendsv_exit: /* restore interrupt */ MSR PRIMASK, R2 - MOVS R0, #0x04 + MOVS R0, #0x03 RSBS R0, R0, #0x00 BX R0 /* diff --git a/libcpu/arm/cortex-m23/context_iar.S b/libcpu/arm/cortex-m23/context_iar.S index 4d50d0fdec..c7d85cc5e2 100644 --- a/libcpu/arm/cortex-m23/context_iar.S +++ b/libcpu/arm/cortex-m23/context_iar.S @@ -139,7 +139,7 @@ pendsv_exit ; restore interrupt MSR PRIMASK, r2 - MOVS r0, #0x04 + MOVS r0, #0x03 RSBS r0, r0, #0x00 BX r0 diff --git a/libcpu/arm/cortex-m23/context_rvds.S b/libcpu/arm/cortex-m23/context_rvds.S index 4486ceaf08..ca381d0f8f 100644 --- a/libcpu/arm/cortex-m23/context_rvds.S +++ b/libcpu/arm/cortex-m23/context_rvds.S @@ -143,7 +143,7 @@ pendsv_exit ; restore interrupt MSR PRIMASK, r2 - MOVS r0, #0x04 + MOVS r0, #0x03 RSBS r0, r0, #0x00 BX r0 ENDP |
