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 #163

Closed
wants to merge 3 commits into from
Closed

riscv: support for S-mode #163

wants to merge 3 commits into from

Conversation

romancardenas
Copy link
Contributor

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 4, 2023 18:16
@romancardenas romancardenas deleted the riscv-smode branch December 7, 2023 12:44
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.

1 participant