mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
Ensure the first task starts with interrupts enabled.
This commit is contained in:
parent
ed543197e0
commit
2bc9dfa3f8
|
@ -129,6 +129,8 @@ __asm void vPortSVCHandler( void )
|
|||
ldr r2, =uxCriticalNesting /* Restore the critical nesting count used by the task. */
|
||||
str r1, [r2]
|
||||
msr psp, r0 /* Restore the task stack pointer. */
|
||||
mov r0, #0
|
||||
msr basepri, r0
|
||||
orr r14, #0xd
|
||||
bx r14
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue