mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-11 13:54:16 -04:00
Convert some ports to use xTaskIncrementTick() in place of vTaskIncrementTick().
Move DSB instructions to before WFI instructions in line with ARM recommendations.
This commit is contained in:
parent
4e9374ad90
commit
686d190798
27 changed files with 128 additions and 142 deletions
|
@ -57,7 +57,7 @@
|
|||
|
||||
.include data_model.h
|
||||
|
||||
.global vTaskIncrementTick
|
||||
.global xTaskIncrementTick
|
||||
.global vTaskSwitchContext
|
||||
.global vPortSetupTimerInterrupt
|
||||
.global pxCurrentTCB
|
||||
|
@ -112,7 +112,7 @@ vPortPreemptiveTickISR: .asmfunc
|
|||
push.w sr
|
||||
portSAVE_CONTEXT
|
||||
|
||||
call_x #vTaskIncrementTick
|
||||
call_x #xTaskIncrementTick
|
||||
call_x #vTaskSwitchContext
|
||||
|
||||
portRESTORE_CONTEXT
|
||||
|
@ -128,7 +128,7 @@ vPortCooperativeTickISR: .asmfunc
|
|||
push.w sr
|
||||
portSAVE_CONTEXT
|
||||
|
||||
call_x #vTaskIncrementTick
|
||||
call_x #xTaskIncrementTick
|
||||
|
||||
portRESTORE_CONTEXT
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue