mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-11 14:15:12 -05:00
Added adaptation of Aalok's and Nathan's single-core proof for uxListRemove
This commit is contained in:
parent
6f782b494a
commit
cd3fa4e577
4 changed files with 484 additions and 7 deletions
7
tasks.c
7
tasks.c
|
|
@ -31,13 +31,14 @@
|
|||
|
||||
//@ #include <bitops.gh>
|
||||
//@ #include "list.gh"
|
||||
//@ #include <listex.gh>
|
||||
|
||||
/* The following includes will be visible to VeriFast in the preprocessed
|
||||
* code. VeriFast requires includes to occur befor definitions. Hence,
|
||||
* all includes visible to VeriFast must occur before the preprocessed
|
||||
* ones.
|
||||
*/
|
||||
//VF_include #include "FreeRTOSConfig.h"
|
||||
//VF_macro #include "FreeRTOSConfig.h"
|
||||
|
||||
//VF_macro #define NULL 0
|
||||
#endif /* VERIFAST */
|
||||
|
|
@ -1217,8 +1218,12 @@ static void prvYieldForTask( TCB_t * pxTCB,
|
|||
}
|
||||
}
|
||||
|
||||
//@ close xLIST(gReadyList, gSize, gIndex, gEnd, gCells, gVals, gOwners);
|
||||
|
||||
if( xTaskScheduled != pdFALSE )
|
||||
{
|
||||
//@ close exists(gReadyList);
|
||||
|
||||
/* Once a task has been selected to run on this core,
|
||||
* move it to the end of the ready task list. */
|
||||
uxListRemove( pxTaskItem );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue