repair the task shcedule failed problem of arm,update the assign task before pendsv fault

This commit is contained in:
Wang_Weigen
2022-06-22 14:57:25 +08:00
parent 1f5d4ac765
commit 517825a52f
6 changed files with 21 additions and 11 deletions
@@ -76,7 +76,6 @@ PendSV_Handler:
MOV R7, R11
STMIA R1!, {R4 - R7} /* push thread {R8 - R11} high register to thread stack */
switch_to_task:
BL UpdateRunningTask
LDR R1, =InterruptToKtask
LDR R1, [R1]
-3
View File
@@ -70,9 +70,6 @@ PendSV_Handler:
switch_to_task:
PUSH {lr}
BL UpdateRunningTask
POP {lr}
#ifdef TASK_ISOLATION
PUSH {lr}