Added rewrite to remove const qualifiers from pointers.

This commit is contained in:
Tobias Reinhard 2022-11-04 11:15:15 -04:00
parent 2404a2f253
commit 94e0f21574
4 changed files with 397 additions and 131 deletions

View file

@ -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 ) );