Updated stack depth requirements in preconditions to match precondition of pxPortInitialiseStack

This commit is contained in:
Tobias Reinhard 2022-11-02 14:16:29 -04:00
parent 249d220ed7
commit 0e84d8906f
3 changed files with 6 additions and 4 deletions

View file

@ -20,6 +20,7 @@ predicate uninit_TCB_p(TCB_t * tcb, int stackSize) =
tcb->uxPriority |-> _ &*&
tcb->pxStack |-> ?stackPtr &*&
stackPtr != 0 &*&
(char*) stackPtr + stackSize <= (char*) UINTPTR_MAX &*&
chars_((char*) stackPtr, stackSize, _) &*&
malloc_block_chars((char*) stackPtr, stackSize) &*&