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:
YOUR_NAME 2021-04-25 20:53:33 +08:00
parent 0ed8adfe3a
commit 28aa777191
1 changed files with 2 additions and 2 deletions

View File

@ -205,7 +205,9 @@ _osExceptSwiHdl:
PUSH_FPU_REGS R1
MOV FP, #0 @ Init frame pointer
CPSIE I
BLX OsArmA32SyscallHandle
CPSID I
POP_FPU_REGS R1
ADD SP, SP,#4
@ -329,9 +331,7 @@ _osExcPageFault:
MOV R5, R0
MOV R8, R2
MOV R9, R3
CPSIE I
BLX OsArmSharedPageFault
CPSID I
POP_FPU_REGS R1
MOV SP, R4