Commit graph

16 commits

Author SHA1 Message Date
Tobias Reinhard
c3c350f8dc vTaskSwitchContext now has access to the current task's stack. 2022-11-16 15:31:49 -05:00
Tobias Reinhard
327423ef67 TCB of currently scheduled task on core C is interrupt protected on core C. Updated invariants to reflect that. 2022-11-16 11:25:37 -05:00
Tobias Reinhard
dbf03a0ab2 Introduced predicates to differentiate between public and private parts of a TCB. 2022-11-16 10:55:25 -05:00
Tobias Reinhard
d95976ebe5 Added info about available tasks to lock predicate. 2022-11-16 10:28:31 -05:00
Tobias Reinhard
7a5119e324 Nightly build of Nov 14, 2022 broke old proof for vTaskCreate. Ignoring these proofs for now. 2022-11-15 09:31:56 -05:00
Tobias Reinhard
97c2583eb3 Verified prvInitialiseNewTask. 2022-11-02 16:09:16 -04:00
Tobias Reinhard
0e84d8906f Updated stack depth requirements in preconditions to match precondition of pxPortInitialiseStack 2022-11-02 14:16:29 -04:00
Tobias Reinhard
800a7204bc Adapted first half of prvInitialiseNewTask to new stack predicate. 2022-11-01 16:06:53 -04:00
Tobias Reinhard
eedbfe3255 Typo. 2022-10-28 13:26:17 -04:00
Tobias Reinhard
06b924d818 Verified alignment properties of stack top pointer. 2022-10-28 13:24:01 -04:00
Tobias Reinhard
551d1da628 Renamed TCB_p predicate into uninit_TCB_p. 2022-10-27 12:58:18 -04:00
Tobias Reinhard
b5f0b2f74d Added snippet from RP2040 port.c to verification code base to allow verification of contract from portable.h 2022-10-26 10:08:29 -04:00
Tobias Reinhard
40931d229d Justified memset of TCB fields in prvInitialiseNewTask.
Fields: `pxNewTCB->ucNotifyState` and `pxNewTCB->ulNotifiedValue`
2022-10-25 16:56:28 -04:00
Tobias Reinhard
8a8f0ab9b1 Proved memory safety of name-writing loop in prvInitialiseNewTask. 2022-10-25 14:57:26 -04:00
Tobias Reinhard
1042ea8cf8 Refined task control block predicate TCB_p such that it can be used to justify memset-ing the stack. 2022-10-25 13:22:10 -04:00
Tobias Reinhard
5a7916bff0 Added predicates to reason about TCB_t and substructures. 2022-10-24 16:17:41 -04:00