fix: no exception information output, when the system is abnormal
after holding the scheduling lock in SMP. Change-Id: Ib10128fede9aa3e00269f1265089a917ffd96d88
This commit is contained in:
parent
0ed8adfe3a
commit
28aa777191
|
@ -205,7 +205,9 @@ _osExceptSwiHdl:
|
||||||
PUSH_FPU_REGS R1
|
PUSH_FPU_REGS R1
|
||||||
|
|
||||||
MOV FP, #0 @ Init frame pointer
|
MOV FP, #0 @ Init frame pointer
|
||||||
|
CPSIE I
|
||||||
BLX OsArmA32SyscallHandle
|
BLX OsArmA32SyscallHandle
|
||||||
|
CPSID I
|
||||||
|
|
||||||
POP_FPU_REGS R1
|
POP_FPU_REGS R1
|
||||||
ADD SP, SP,#4
|
ADD SP, SP,#4
|
||||||
|
@ -329,9 +331,7 @@ _osExcPageFault:
|
||||||
MOV R5, R0
|
MOV R5, R0
|
||||||
MOV R8, R2
|
MOV R8, R2
|
||||||
MOV R9, R3
|
MOV R9, R3
|
||||||
CPSIE I
|
|
||||||
BLX OsArmSharedPageFault
|
BLX OsArmSharedPageFault
|
||||||
CPSID I
|
|
||||||
|
|
||||||
POP_FPU_REGS R1
|
POP_FPU_REGS R1
|
||||||
MOV SP, R4
|
MOV SP, R4
|
||||||
|
|
Loading…
Reference in New Issue