mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-11 14:15:12 -05:00
Switched to new verification target vTaskSwitchContext.
This commit is contained in:
parent
9fa8c76447
commit
3d4ad64692
2 changed files with 148 additions and 81 deletions
2
tasks.c
2
tasks.c
|
|
@ -4152,6 +4152,8 @@ BaseType_t xTaskIncrementTick( void )
|
|||
/*-----------------------------------------------------------*/
|
||||
|
||||
void vTaskSwitchContext( BaseType_t xCoreID )
|
||||
//@ requires 0 <= xCoreID &*& xCoreID < configNUM_CORES;
|
||||
//@ ensures true;
|
||||
{
|
||||
/* Acquire both locks:
|
||||
* - The ISR lock protects the ready list from simultaneous access by
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue