-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tool: enforce the protected procedure priorities
As per the Microkit manual, > A protected call is only possible if the callee has strictly higher > priority than the caller. Due to the change to specify `pp="true"` in the SDF in the previous commit, we can now verify that the priority invariant holds true, instead of it being possible to create a system with this behaviour. Signed-off-by: julia <[email protected]> Signed-off-by: Ivan-Velickovic <[email protected]>
- Loading branch information
1 parent
4574734
commit d4d08d3
Showing
3 changed files
with
43 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Copyright 2024, UNSW. | ||
SPDX-License-Identifier: BSD-2-Clause | ||
--> | ||
<system> | ||
<protection_domain name="test1" priority="2"> | ||
<program_image path="test" /> | ||
</protection_domain> | ||
<protection_domain name="test2" priority="1"> | ||
<program_image path="test" /> | ||
</protection_domain> | ||
|
||
<channel> | ||
<end pd="test1" id="0" pp="true" /> | ||
<end pd="test2" id="0" /> | ||
</channel> | ||
</system> |
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