mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-11 14:15:12 -05:00
Deleted deprecated version of pointer size axiom.
This commit is contained in:
parent
2b82220cec
commit
2bcdc31ff8
3 changed files with 96 additions and 108 deletions
3
tasks.c
3
tasks.c
|
|
@ -1371,7 +1371,6 @@ static void prvYieldForTask( TCB_t * pxTCB,
|
|||
//@ close xLIST_ITEM(&pxNewTCB->xStateListItem, _, _, _, _);
|
||||
//@ close xLIST_ITEM(&pxNewTCB->xEventListItem, _, _, _, _);
|
||||
//@ close TCB_p(pxNewTCB, ((size_t) usStackDepth) * sizeof(StackType_t));
|
||||
//@ assert(false);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -1494,7 +1493,7 @@ static void prvInitialiseNewTask( TaskFunction_t pxTaskCode,
|
|||
pxTopOfStack = &( pxNewTCB->pxStack[ ulStackDepth - ( uint32_t ) 1 ] );
|
||||
|
||||
// Axiomatize that pointers on RP2040 are 32bit
|
||||
//@ uint32_t_ptr_range(pxTopOfStack);
|
||||
//@ ptr_range<uint32_t>(pxTopOfStack);
|
||||
|
||||
// TODO: How can we prove this?
|
||||
// Assume that no underflow occurs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue