Added missing task-ISR lock invariant to post condition of acquision lemma.

This commit is contained in:
Tobias Reinhard 2022-11-11 15:07:01 -05:00
parent 29e14be203
commit d746a27233

View file

@ -126,7 +126,8 @@ requires locked(?heldLocks) &*&
heldLocks == cons(?i, cons(?t, nil)) &*& heldLocks == cons(?i, cons(?t, nil)) &*&
i == pair(?f_isr, isrLockID_f()) &*& i == pair(?f_isr, isrLockID_f()) &*&
t == pair(?f_task, taskLockID_f()); t == pair(?f_task, taskLockID_f());
ensures locked( cons( pair(_, taskISRLockID_f()), heldLocks) ); ensures locked( cons( pair(_, taskISRLockID_f()), heldLocks) ) &*&
taskISRLockInv();
@*/ @*/