← Home

satp

Supervisor Address Translation and Protection

Address: 0x180 (384) · Privilege: S · Length: SXLEN · Writable · Defined by: S

Controls the translation mode in (H)S-mode and U-mode, and holds the current ASID and page table base pointer.

Fields

RV32

31:2423:1615:87:0
MODEASIDPPN

RV64

63:5655:4847:4039:3231:2423:1615:87:0
MODEASIDPPN
BitsFieldAliasDescriptionTypeReset
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-RUNDEFINED_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-RUNDEFINED_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.