Skip to content

Fix Svbare warning. #906

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 1, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ For booting operating system images, see the information under the
- Sstc extension for Supervisor-mode Timer Interrupts, v1.0
- Svinval extension for fine-grained address-translation cache invalidation, v1.0
- Sv32, Sv39, Sv48 and Sv57 page-based virtual-memory systems
- Svbare extension for Bare mode virtual-memory translation
- Physical Memory Protection (PMP)

<!-- Uncomment the following section when unratified extensions are added
Expand Down
3 changes: 3 additions & 0 deletions config/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,9 @@
"Svinval": {
"supported": true
},
"Svbare": {
"supported": true
},
"Sv32": {
"supported": true
},
Expand Down
1 change: 1 addition & 0 deletions model/riscv_extensions.sail
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ function clause hartSupports(Ext_Svpbmt) = false // Not supported yet

// Supervisor-Level Address Translation Modes
enum clause extension = Ext_Svbare
function clause hartSupports(Ext_Svbare) = config extensions.Svbare.supported
enum clause extension = Ext_Sv32
function clause hartSupports(Ext_Sv32) = config extensions.Sv32.supported : bool & (xlen == 32)
enum clause extension = Ext_Sv39
Expand Down
Loading