mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-11 22:25:14 -05:00
Justified memset of TCB fields in prvInitialiseNewTask.
Fields: `pxNewTCB->ucNotifyState` and `pxNewTCB->ulNotifiedValue`
This commit is contained in:
parent
8a8f0ab9b1
commit
40931d229d
5 changed files with 394 additions and 232 deletions
|
|
@ -36,9 +36,11 @@ predicate TCB_p(TCB_t * tcb, int stackSize) =
|
|||
tcb->uxMutexesHeld |-> _ &*&
|
||||
|
||||
// void * pvThreadLocalStoragePointers[ 5 ];
|
||||
pointers_(tcb->pvThreadLocalStoragePointers, _, _) &*&
|
||||
pointers_(tcb->pvThreadLocalStoragePointers, 5, _) &*&
|
||||
|
||||
integers__(tcb->ulNotifiedValue, _, _, _, _) &*&
|
||||
// We assume that the macro `configTASK_NOTIFICATION_ARRAY_ENTRIES`
|
||||
// evaluates to 1.
|
||||
integers__(tcb->ulNotifiedValue, 4, false, 1, _) &*&
|
||||
|
||||
uchars_(tcb->ucNotifyState, 1, _) &*&
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue