Verified prvInitialiseNewTask.

This commit is contained in:
Tobias Reinhard 2022-11-02 16:09:16 -04:00
parent 0e84d8906f
commit 97c2583eb3
5 changed files with 93 additions and 77 deletions

View file

@ -117,7 +117,11 @@ StackType_t * pxPortInitialiseStack( StackType_t * pxTopOfStack,
ulFreeBytes > 17 * sizeof(StackType_t) &*&
pxStack > 0;
@*/
/*@ ensures stack_p_2(pxStack, ulStackDepth, pxTopOfStack - 16, ulFreeBytes - sizeof(StackType_t) * 16, ulUsedCells + 16, ulUnalignedBytes);
/*@ ensures stack_p_2(pxStack, ulStackDepth, result,
ulFreeBytes - sizeof(StackType_t) * 16,
ulUsedCells + 16,
ulUnalignedBytes) &*&
result == pxTopOfStack - 16;
@*/
{
//@ StackType_t* gOldTop = pxTopOfStack;