mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-11 22:25:14 -05:00
Adapted first half of prvInitialiseNewTask to new stack predicate.
This commit is contained in:
parent
af090b252d
commit
800a7204bc
4 changed files with 127 additions and 75 deletions
|
|
@ -10,6 +10,7 @@ predicate stack_p_2(StackType_t * pxStack,
|
|||
uint32_t ulFreeBytes,
|
||||
uint32_t ulUsedCells,
|
||||
uint32_t ulUnalignedBytes) =
|
||||
malloc_block_chars((char*) pxStack, ulStackDepth * sizeof(StackType_t)) &*&
|
||||
// Free stack cells. The size of this memory block is not necessarily a
|
||||
// multiple of sizeof(StackType_t), due to bitvector arithmetic.
|
||||
// At least, we cannot prove it.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue