-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rt spec+proof: add sporadic implies active invariant
This adds an invariant to active_scs_valid (part of valid_sched) which states that every scheduling context which is sporadic is active. Several changes to the specs were made, in particular - a sched context is made not sporadic during the finalisation process. This was required to prove the invariant holds. - the update to the sc_sporadic field within invoke_sched_control_configure_flags is now made towards the end of the function, so as to ensure that the field is updated only after the scheduling context is made active. This means that the new invariant is not broken temporarily, and eases the proofs. In addition, the update to the sc_badge field is moved. - if_cond_refill_unblock_check is modified, taking into account the new invariant. Signed-off-by: Michael McInerney <[email protected]>
- Loading branch information
1 parent
468a7e4
commit ea860f5
Showing
20 changed files
with
626 additions
and
539 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.