mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 09:38:32 -04:00
FreeRTOS Source files:
+ Updated all ARM Cortex-M0 ports to include an additional ISB instruction as the scheduler is started. Demo app files: + Fixex build issues in XMC1000 demos.
This commit is contained in:
parent
fa86d4eece
commit
94dd3f871b
11 changed files with 742 additions and 176 deletions
|
@ -149,6 +149,7 @@ vPortStartFirstTask
|
|||
msr psp, r0 /* This is now the new top of stack to use in the task. */
|
||||
movs r0, #2 /* Switch to the psp stack. */
|
||||
msr CONTROL, r0
|
||||
isb
|
||||
pop {r0-r5} /* Pop the registers that are saved automatically. */
|
||||
mov lr, r5 /* lr is now in r5. */
|
||||
cpsie i /* The first task has its context and interrupts can be enabled. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue