← Home

sstatus

Supervisor Status

Address: 0x100 (256) · Privilege: S · Length: SXLEN · Writable · Defined by: S

The sstatus register tracks and controls the hart's current operating state.

All fields in sstatus are aliases of the same field in mstatus.

Fields

RV32

31:2423:1615:87:0
SD—SPELP—MXRSUM—XSFS—VSSPP—UBESPIE—SIE—

RV64

63:5655:4847:4039:3231:2423:1615:87:0
SD—UXL—SPELP—MXRSUM—XSFS—VSSPP—UBESPIE—SIE—
BitsFieldAliasDescriptionTypeReset
RV32 [31]
RV64 [63]
SDmstatus.SD*State Dirty* Alias of `mstatus.SD`.RO-HUNDEFINED_LEGAL
[33:32]UXLmstatus.UXL*U-mode XLEN* Alias of `mstatus.UXL`.RO2
[23]SPELPmstatus.SPELP*Previous Expected Landing Pad state* Alias of `mstatus.SPELP`.RW-HUNDEFINED_LEGAL
[19]MXRmstatus.MXR*Make eXecutable Readable* Alias of `mstatus.MXR`.RWUNDEFINED_LEGAL
[18]SUMmstatus.SUM*permit Supervisor Memory Access* Alias of `mstatus.SUM`.RWUNDEFINED_LEGAL
[16:15]XSmstatus.XSCustom (X) extension context Status. Alias of `mstatus.XS`.ROUNDEFINED_LEGAL
[14:13]FSmstatus.FSFloating point context status. Alias of `mstatus.FS`.RW-HUNDEFINED_LEGAL
[10:9]VSmstatus.VSVector context status. Alias of `mstatus.VS`.RW-HUNDEFINED_LEGAL
[8]SPPmstatus.SPP*S-mode Previous Privilege* Alias of `mstatus.SPP`.RW-HUNDEFINED_LEGAL
[6]UBEmstatus.UBE*U-mode Big Endian* Alias of `mstatus.UBE`.ROUNDEFINED_LEGAL
[5]SPIEmstatus.SPIE*S-mode Previous Interrupt Enable* Alias of `mstatus.SPIE`.RW-HUNDEFINED_LEGAL
[1]SIEmstatus.SIE*S-mode Interrupt Enable* Alias of `mstatus.SIE`.RW-HUNDEFINED_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.