mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-31 08:20:25 +08:00
fixed context thread issue when using armcc compile
This commit is contained in:
parent
fb9ea5eada
commit
03aa76155e
@ -60,9 +60,9 @@ rt_hw_context_switch PROC
|
||||
LDMFD sp!, {r4} ; pop new task spsr
|
||||
MSR spsr_cxsf, r4
|
||||
LDMFD sp!, {r4} ; pop new task cpsr
|
||||
MSR cpsr_cxsf, r4
|
||||
MSR spsr_cxsf, r4
|
||||
|
||||
LDMFD sp!, {r0-r12, lr, pc} ; pop new task r0-r12, lr & pc
|
||||
LDMFD sp!, {r0-r12, lr, pc}^ ; pop new task r0-r12, lr & pc
|
||||
ENDP
|
||||
|
||||
;/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user