Supervisor Status
The sstatus register tracks and controls the hart's current operating state.
All fields in sstatus are aliases of the same field in mstatus.
| 31:24 | 23:16 | 15:8 | 7:0 | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| SD | — | SPELP | — | MXR | SUM | — | XS | FS | — | VS | SPP | — | UBE | SPIE | — | SIE | — | ||||||||||||||
| 63:56 | 55:48 | 47:40 | 39:32 | 31:24 | 23:16 | 15:8 | 7:0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| SD | — | UXL | — | SPELP | — | MXR | SUM | — | XS | FS | — | VS | SPP | — | UBE | SPIE | — | SIE | — | ||||||||||||||||||||||||||||||||||||||||||||
| Bits | Field | Alias | Description | Type | Reset |
|---|---|---|---|---|---|
| RV32 [31] RV64 [63] | SD | mstatus.SD | *State Dirty* Alias of `mstatus.SD`. | RO-H | UNDEFINED_LEGAL |
| [33:32] | UXL | mstatus.UXL | *U-mode XLEN* Alias of `mstatus.UXL`. | RO | 2 |
| [23] | SPELP | mstatus.SPELP | *Previous Expected Landing Pad state* Alias of `mstatus.SPELP`. | RW-H | UNDEFINED_LEGAL |
| [19] | MXR | mstatus.MXR | *Make eXecutable Readable* Alias of `mstatus.MXR`. | RW | UNDEFINED_LEGAL |
| [18] | SUM | mstatus.SUM | *permit Supervisor Memory Access* Alias of `mstatus.SUM`. | RW | UNDEFINED_LEGAL |
| [16:15] | XS | mstatus.XS | Custom (X) extension context Status. Alias of `mstatus.XS`. | RO | UNDEFINED_LEGAL |
| [14:13] | FS | mstatus.FS | Floating point context status. Alias of `mstatus.FS`. | RW-H | UNDEFINED_LEGAL |
| [10:9] | VS | mstatus.VS | Vector context status. Alias of `mstatus.VS`. | RW-H | UNDEFINED_LEGAL |
| [8] | SPP | mstatus.SPP | *S-mode Previous Privilege* Alias of `mstatus.SPP`. | RW-H | UNDEFINED_LEGAL |
| [6] | UBE | mstatus.UBE | *U-mode Big Endian* Alias of `mstatus.UBE`. | RO | UNDEFINED_LEGAL |
| [5] | SPIE | mstatus.SPIE | *S-mode Previous Interrupt Enable* Alias of `mstatus.SPIE`. | RW-H | UNDEFINED_LEGAL |
| [1] | SIE | mstatus.SIE | *S-mode Interrupt Enable* Alias of `mstatus.SIE`. | RW-H | 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.