RISC-V Topic Guide

Privilege Levels

The RISC-V privileged architecture defines privilege modes including M, S, and U, and the Hypervisor extension adds HS behavior plus VS/VU virtual privilege modes; key topics include per-level CSRs, ECALL traps, MRET/SRET returns, mstatus/sstatus/hstatus state, and exception/interrupt delegation.

M-modeS-modeU-modeHS behaviorVS virtual modeVU virtual modemstatussstatushstatusECALLMRETSRETmedelegmidelegCSR

Core Concepts

Related Entries

Official References

RISC-V behavior on this topic should be checked against the official specifications; content additions should only use facts verifiable in these documents.