-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add physical memory protection in Keystone
This commit adds memory protection to Keystone enclaves, effectively making them confidential. Making the enclave confidential requires more PMP, however OpenSBI gets confused if it has less than 8 PMP registers but more than 0. So rather than exposing 7 PMP registers we configure Miralis to expose 0.
- Loading branch information
1 parent
f5b818f
commit a99ae63
Showing
6 changed files
with
167 additions
and
86 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ level = "info" | |
color = true | ||
|
||
[vcpu] | ||
max_pmp = 8 | ||
max_pmp = 0 | ||
|
||
[platform] | ||
nb_harts = 1 | ||
|
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ color = true | |
max_firmware_exits = 2000 | ||
|
||
[vcpu] | ||
max_pmp = 8 | ||
max_pmp = 0 | ||
|
||
[platform] | ||
nb_harts = 1 | ||
|
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.