Webcentive RISC-V Reference

sstatus

Supervisor status register

Address
0x100
Group
Supervisor-level CSRs
Privilege
SRW (privileged spec CSR listing, Supervisor Trap Setup)
Access
read/write; lowest privilege S (supervisor)
Address range
Standard read/write
Name in riscv-unified-db
Supervisor Status

Privileged spec: Supervisor status register

Description

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

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

From riscv-unified-db, reformatted.

Fields

FieldBitsTypeDescription
SDRV32 31 / RV64 63RO-H

State Dirty

Alias of mstatus.SD.

UXL33-32RO

U-mode XLEN

Alias of mstatus.UXL.

SPELP23RW-H

Previous Expected Landing Pad state

Alias of mstatus.SPELP.

MXR19RW

Make eXecutable Readable

Alias of mstatus.MXR.

SUM18RW

permit Supervisor Memory Access

Alias of mstatus.SUM.

XS16-15RO

Custom (X) extension context Status.

Alias of mstatus.XS.

FS14-13RW-H

Floating point context status.

Alias of mstatus.FS.

VS10-9RW-H

Vector context status.

Alias of mstatus.VS.

SPP8RW-H

S-mode Previous Privilege

Alias of mstatus.SPP.

UBE6RO

U-mode Big Endian

Alias of mstatus.UBE.

SPIE5RW-H

S-mode Previous Interrupt Enable

Alias of mstatus.SPIE.

SIE1RW-H

S-mode Interrupt Enable

Alias of mstatus.SIE.

Fields from riscv-unified-db; field types computed by IDL functions there are not shown.

Specification and related pages