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

🔒 restrict access to IO modules to privileged (machine-mode) software #958

Merged
merged 9 commits into from
Jul 21, 2024

Conversation

stnolting
Copy link
Owner

@stnolting stnolting commented Jul 21, 2024

Only software running in M-mode can access the processor-internal IO/peripheral modules (i.e. U-mode software is restricted to use system calls to interact with the hardware). This allows to save one PMP entry for safety-/security-aware (RTOS) applications.

@stnolting stnolting added enhancement New feature or request HW Hardware-related labels Jul 21, 2024
@stnolting stnolting self-assigned this Jul 21, 2024
@stnolting stnolting marked this pull request as ready for review July 21, 2024 08:24
@stnolting stnolting merged commit 9f21272 into main Jul 21, 2024
10 checks passed
@stnolting stnolting deleted the privileged_io branch July 21, 2024 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request HW Hardware-related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant