Skip to content
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

riscv: support for S-mode #165

Merged
merged 1 commit into from
Dec 20, 2023
Merged

riscv: support for S-mode #165

merged 1 commit into from
Dec 20, 2023

Conversation

romancardenas
Copy link
Contributor

@romancardenas romancardenas commented Dec 7, 2023

(I messed up with previous PR)

This PR solves #114

Now, crate::interrupt has machine and supervisor modules for M and S mode, respectively.
A new feature s-mode reexports the content of the appropriate module in crate::interrupt.
I also modified how the critical section is implemented depending on whether the s-mode feature has been selected.

@romancardenas romancardenas requested a review from a team as a code owner December 7, 2023 12:41
@romancardenas
Copy link
Contributor Author

ping @rust-embedded/riscv

@romancardenas romancardenas added this pull request to the merge queue Dec 20, 2023
Merged via the queue into master with commit 0a021ea Dec 20, 2023
58 checks passed
@romancardenas romancardenas deleted the smode-riscv branch December 20, 2023 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants