riscv: add mseccfg/h CSR registers - #338
Merged
romancardenas merged 6 commits intoAug 13, 2025
Merged
Conversation
Adds the `mseccfg` machine security configuration CSR register.
Fixes previous read-write tests for the MIP and SIP CSRs, which are now read-only.
Adds basic unit tests for the `mseccfg` CSR register.
Adds the `mseccfgh` machine security configuration (high-bits) CSR.
Adds basic unit tests for the `mseccfgh` CSR register.
rmsyn
force-pushed
the
riscv/register/mseccfg
branch
from
August 12, 2025 22:49
94382ed to
dd08a52
Compare
Contributor
Author
No spellcheck, it shouldn't. @romancardenas how do I tell spellcheck to ignore this? Edit: I think I figured it out with the added |
rmsyn
force-pushed
the
riscv/register/mseccfg
branch
from
August 12, 2025 23:05
de9e7c0 to
1537fdd
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the
mseccfgandmseccfghCSRs for machine-mode security configuration.Adds basic unit tests for the new CSRs.
Minor fixups for broken
mip/sipunit tests.