Stephen Marz personal blog
Writing a RISC-V OS in Rust: System Calls
System calls are a way for unprivileged, user applications to request services from the kernel. In the RISC-V architecture, we invoke the call using the ecall instruction. This will cause the CPU to halt what it's doing, elevate privilege modes, and then jump to whatever function handler is stored in the mtvec…
- Points
- 201
- HN comments
- 34
- Submissions
- 1
- Cited by
- 0 commenters
Systems & PerformanceSoftware Engineering2020
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Jan 31, 2020 | Writing a RISC-V OS in Rust: System Calls by azhenley | 201 | 34 |