mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-11 14:15:12 -05:00
Added rewrite to remove const qualifiers from pointers.
This commit is contained in:
parent
2404a2f253
commit
94e0f21574
4 changed files with 397 additions and 131 deletions
7
tasks.c
7
tasks.c
|
|
@ -62,7 +62,11 @@
|
|||
#include "verifast_bitops_extended.h"
|
||||
#include "verifast_asm.h"
|
||||
|
||||
//#include "verifast_lock_predicates.h"
|
||||
|
||||
#include "snippets/rp2040_port_c_snippets.c"
|
||||
|
||||
#include "list.c"
|
||||
#endif
|
||||
|
||||
/* Lint e9021, e961 and e750 are suppressed as a MISRA exception justified
|
||||
|
|
@ -1673,7 +1677,10 @@ static void prvInitialiseNewTask( TaskFunction_t pxTaskCode,
|
|||
}
|
||||
#endif /* configUSE_MUTEXES */
|
||||
|
||||
// TODO: Add contract
|
||||
// TODO: Why does VeriFast not complain?
|
||||
vListInitialiseItem( &( pxNewTCB->xStateListItem ) );
|
||||
//@ assert(false);
|
||||
vListInitialiseItem( &( pxNewTCB->xEventListItem ) );
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue