mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-23 06:51:58 -04:00
Improve efficiency even further. Introduce the configMAX_SYSCALL_INTERRUPT_PRIORITY feature.
This commit is contained in:
parent
7580c6b817
commit
8b02e015ba
|
@ -146,9 +146,14 @@ vPortSVCHandler;
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
vPortStartFirstTask
|
vPortStartFirstTask
|
||||||
|
/* Use the NVIC offset register to locate the stack. */
|
||||||
|
ldr r0, =0xE000ED08
|
||||||
|
ldr r0, [r0]
|
||||||
|
ldr r0, [r0]
|
||||||
|
/* Set the msp back to the start of the stack. */
|
||||||
msr msp, r0
|
msr msp, r0
|
||||||
|
/* Call SVC to start the first task. */
|
||||||
svc 0
|
svc 0
|
||||||
|
|
||||||
|
|
||||||
END
|
END
|
||||||
|
|
Loading…
Reference in a new issue