Supervisor Address Translation and Protection
Controls the translation mode in (H)S-mode and U-mode, and holds the current ASID and page table base pointer.
| 31:24 | 23:16 | 15:8 | 7:0 | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| MODE | ASID | PPN | |||||||||||||||||||||||||||||
| 63:56 | 55:48 | 47:40 | 39:32 | 31:24 | 23:16 | 15:8 | 7:0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| MODE | ASID | PPN | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Bits | Field | Alias | Description | Type | Reset |
|---|---|---|---|---|---|
| RV32 [31] RV64 [63:60] | MODE | *Translation Mode* Controls the current translation mode according to the table below. ! Value ! Name ! Description ! 0 ! Bare a! No translation -> virtual address == physical address ! 8 ! Sv39 ! 39-bit virtual address translation ! 9 ! Sv48 ! 48-bit virtual address translation ! 10 ! Sv57 ! 57-bit virtual address translation Any other value shall be ignored on a write. | RW-R | return 0; | |
| RV32 [30:22] RV64 [59:44] | ASID | *Address Space ID* | RW-R | UNDEFINED_LEGAL | |
| RV32 [21:0] RV64 [43:0] | PPN | *Physical Page Number* The physical address of the active root page table is PPN << 12. Can only hold values that correspond to a valid page table base, which will be implementation-dependent. | RW-R | UNDEFINED_LEGAL |
Version af3eaf9+cheriot.f635218
Data from the RISC-V Unified Database, copyright RISC-V International and contributors.
CHERIoT extensions from the CHERIoT specification and Sail model, copyright Microsoft and the CHERIoT Platform contributors.
This site is provided as a community resource and is NOT affiliated with nor endorsed by RISC-V International.