mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-12 06:35:19 -05:00
Added info about available tasks to lock predicate.
This commit is contained in:
parent
7a5119e324
commit
d95976ebe5
5 changed files with 47 additions and 4 deletions
|
|
@ -72,7 +72,7 @@ predicate TCB_p(TCB_t * tcb, uint32_t ulFreeBytesOnStack) =
|
|||
// Assumes macro `configMAX_TASK_NAME_LEN` evaluates to 16.
|
||||
chars_(tcb->pcTaskName, 16, _) &*&
|
||||
|
||||
tcb->uxCriticalNesting |-> _ &*&
|
||||
tcb->uxCriticalNesting |-> ?uxCriticalNesting &*&
|
||||
tcb->uxTCBNumber |-> _ &*&
|
||||
tcb->uxTaskNumber |-> _ &*&
|
||||
tcb->uxBasePriority |-> _ &*&
|
||||
|
|
@ -87,6 +87,10 @@ predicate TCB_p(TCB_t * tcb, uint32_t ulFreeBytesOnStack) =
|
|||
uchars((unsigned char*) tcb->ucNotifyState, 1, _) &*&
|
||||
|
||||
tcb->ucDelayAborted |-> _;
|
||||
|
||||
|
||||
predicate absTCB_p(TCB_t* tcb) =
|
||||
TCB_p(tcb, _);
|
||||
@*/
|
||||
|
||||
#endif /* TASKS_GH */
|
||||
Loading…
Add table
Add a link
Reference in a new issue