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

SubmittedTitle on HNPointsComments
Jan 31, 2020Writing a RISC-V OS in Rust: System Calls by azhenley20134

More from Stephen Marz

All 4 posts →

Related posts from the same era