mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-06-02 21:12:20 +08:00
update libcpu: ensure fault enable.
This commit is contained in:
@@ -181,7 +181,9 @@ rt_hw_context_switch_to:
|
|||||||
NOP
|
NOP
|
||||||
MSR MSP, R0
|
MSR MSP, R0
|
||||||
|
|
||||||
CPSIE I /* enable interrupts at processor level */
|
/* enable interrupts at processor level */
|
||||||
|
CPSIE F
|
||||||
|
CPSIE I
|
||||||
|
|
||||||
/* never reach here! */
|
/* never reach here! */
|
||||||
|
|
||||||
|
|||||||
@@ -188,6 +188,7 @@ rt_hw_context_switch_to:
|
|||||||
MSR msp, r0
|
MSR msp, r0
|
||||||
|
|
||||||
; enable interrupts at processor level
|
; enable interrupts at processor level
|
||||||
|
CPSIE F
|
||||||
CPSIE I
|
CPSIE I
|
||||||
|
|
||||||
; never reach here!
|
; never reach here!
|
||||||
|
|||||||
@@ -191,6 +191,7 @@ rt_hw_context_switch_to PROC
|
|||||||
MSR msp, r0
|
MSR msp, r0
|
||||||
|
|
||||||
; enable interrupts at processor level
|
; enable interrupts at processor level
|
||||||
|
CPSIE F
|
||||||
CPSIE I
|
CPSIE I
|
||||||
|
|
||||||
; never reach here!
|
; never reach here!
|
||||||
|
|||||||
@@ -162,7 +162,9 @@ rt_hw_context_switch_to:
|
|||||||
NOP
|
NOP
|
||||||
MSR msp, r0
|
MSR msp, r0
|
||||||
|
|
||||||
CPSIE I /* enable interrupts at processor level */
|
/* enable interrupts at processor level */
|
||||||
|
CPSIE F
|
||||||
|
CPSIE I
|
||||||
|
|
||||||
/* never reach here! */
|
/* never reach here! */
|
||||||
|
|
||||||
|
|||||||
@@ -161,7 +161,9 @@ rt_hw_context_switch_to:
|
|||||||
NOP
|
NOP
|
||||||
MSR msp, r0
|
MSR msp, r0
|
||||||
|
|
||||||
CPSIE I ; enable interrupts at processor level
|
; enable interrupts at processor level
|
||||||
|
CPSIE F
|
||||||
|
CPSIE I
|
||||||
|
|
||||||
; never reach here!
|
; never reach here!
|
||||||
|
|
||||||
|
|||||||
@@ -168,6 +168,7 @@ rt_hw_context_switch_to PROC
|
|||||||
MSR msp, r0
|
MSR msp, r0
|
||||||
|
|
||||||
; enable interrupts at processor level
|
; enable interrupts at processor level
|
||||||
|
CPSIE F
|
||||||
CPSIE I
|
CPSIE I
|
||||||
|
|
||||||
; never reach here!
|
; never reach here!
|
||||||
|
|||||||
@@ -203,7 +203,9 @@ rt_hw_context_switch_to:
|
|||||||
NOP
|
NOP
|
||||||
MSR msp, r0
|
MSR msp, r0
|
||||||
|
|
||||||
CPSIE I /* enable interrupts at processor level */
|
/* enable interrupts at processor level */
|
||||||
|
CPSIE F
|
||||||
|
CPSIE I
|
||||||
|
|
||||||
/* never reach here! */
|
/* never reach here! */
|
||||||
|
|
||||||
|
|||||||
@@ -207,7 +207,9 @@ rt_hw_context_switch_to:
|
|||||||
NOP
|
NOP
|
||||||
MSR msp, r0
|
MSR msp, r0
|
||||||
|
|
||||||
CPSIE I ; enable interrupts at processor level
|
; enable interrupts at processor level
|
||||||
|
CPSIE F
|
||||||
|
CPSIE I
|
||||||
|
|
||||||
; never reach here!
|
; never reach here!
|
||||||
|
|
||||||
|
|||||||
@@ -208,6 +208,7 @@ rt_hw_context_switch_to PROC
|
|||||||
MSR msp, r0
|
MSR msp, r0
|
||||||
|
|
||||||
; enable interrupts at processor level
|
; enable interrupts at processor level
|
||||||
|
CPSIE F
|
||||||
CPSIE I
|
CPSIE I
|
||||||
|
|
||||||
; never reach here!
|
; never reach here!
|
||||||
|
|||||||
@@ -203,7 +203,9 @@ rt_hw_context_switch_to:
|
|||||||
NOP
|
NOP
|
||||||
MSR msp, r0
|
MSR msp, r0
|
||||||
|
|
||||||
CPSIE I /* enable interrupts at processor level */
|
/* enable interrupts at processor level */
|
||||||
|
CPSIE F
|
||||||
|
CPSIE I
|
||||||
|
|
||||||
/* never reach here! */
|
/* never reach here! */
|
||||||
|
|
||||||
|
|||||||
@@ -207,7 +207,9 @@ rt_hw_context_switch_to:
|
|||||||
NOP
|
NOP
|
||||||
MSR msp, r0
|
MSR msp, r0
|
||||||
|
|
||||||
CPSIE I ; enable interrupts at processor level
|
; enable interrupts at processor level
|
||||||
|
CPSIE F
|
||||||
|
CPSIE I
|
||||||
|
|
||||||
; never reach here!
|
; never reach here!
|
||||||
|
|
||||||
|
|||||||
@@ -208,6 +208,7 @@ rt_hw_context_switch_to PROC
|
|||||||
MSR msp, r0
|
MSR msp, r0
|
||||||
|
|
||||||
; enable interrupts at processor level
|
; enable interrupts at processor level
|
||||||
|
CPSIE F
|
||||||
CPSIE I
|
CPSIE I
|
||||||
|
|
||||||
; never reach here!
|
; never reach here!
|
||||||
|
|||||||
Reference in New Issue
Block a user