rust-embedded / rust-embedded/riscv
`riscv-rt`: Machine + Supervisor mixed executable
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.1k
- Forks
- 200
- Avg merge
- 11d 2h
- Merged PRs (30d)
- 2
Description
As far as I understand the crates can be compiled with S-mode support, but in that case the assumption will be that it starts and always runs in S-mode.
Is the following use-case supported or any plans for it to be supported:
- The execution starts in M-mode, certain M-only setup is done (like PMP config etc)
- The privilege level drops to S-mode for a regular execution flow
- ECALLs from S-mode are served in M-mode
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue does not name a file, test, or entry point; begin by locating the riscv-rt crate's S-mode support and privilege-transition handling. Clarify whether mixed M-mode and S-mode execution is intended, then document the required behavior and add coverage for the stated startup, transition, and ECALL flow if the project accepts the feature.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- embedded-iot, operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100