struct RiscvSstatus

Defined at line 15 of file ../../zircon/kernel/lib/arch/include/lib/arch/riscv64/system.h

Public Members

 field_sd_33
 field_uxl_34
 field_mxr_35
 field_sum_36
 field_xs_37
 field_fs_38
 field_vs_39
 field_spp_40
 field_ube_41
 field_spie_42
 field_sie_43

Public Methods

template <, >
typename SelfType::ValueType sd ()

Bits omitted here are all WPRI (Reserved Writes Preserve Values, Reads

Ignore Values): only the exact values read from them should ever be

written back; writing other values may have no effect or may be invalid.

Defined at line 33 of file ../../zircon/kernel/lib/arch/include/lib/arch/riscv64/system.h

template <, >
SelfType & set_sd (typename SelfType::ValueType val)

Bits omitted here are all WPRI (Reserved Writes Preserve Values, Reads

Ignore Values): only the exact values read from them should ever be

written back; writing other values may have no effect or may be invalid.

Defined at line 33 of file ../../zircon/kernel/lib/arch/include/lib/arch/riscv64/system.h

template <, >
SelfType & set_uxl (Xlen val)

Defined at line 34 of file ../../zircon/kernel/lib/arch/include/lib/arch/riscv64/system.h

template <, >
Xlen uxl ()

Defined at line 34 of file ../../zircon/kernel/lib/arch/include/lib/arch/riscv64/system.h

template <, >
typename SelfType::ValueType mxr ()

NOLINTEND(misc-non-private-member-variables-in-classes)

Defined at line 35 of file ../../zircon/kernel/lib/arch/include/lib/arch/riscv64/system.h

template <, >
SelfType & set_mxr (typename SelfType::ValueType val)

Defined at line 35 of file ../../zircon/kernel/lib/arch/include/lib/arch/riscv64/system.h

template <, >
SelfType & set_sum (typename SelfType::ValueType val)

Defined at line 36 of file ../../zircon/kernel/lib/arch/include/lib/arch/riscv64/system.h

template <, >
typename SelfType::ValueType sum ()

NOLINTEND(misc-non-private-member-variables-in-classes)

Defined at line 36 of file ../../zircon/kernel/lib/arch/include/lib/arch/riscv64/system.h

template <, >
SelfType & set_xs (ExtState val)

Defined at line 37 of file ../../zircon/kernel/lib/arch/include/lib/arch/riscv64/system.h

template <, >
ExtState xs ()

Defined at line 37 of file ../../zircon/kernel/lib/arch/include/lib/arch/riscv64/system.h

template <, >
ExtState fs ()

Defined at line 38 of file ../../zircon/kernel/lib/arch/include/lib/arch/riscv64/system.h

template <, >
SelfType & set_fs (ExtState val)

Defined at line 38 of file ../../zircon/kernel/lib/arch/include/lib/arch/riscv64/system.h

template <, >
SelfType & set_vs (ExtState val)

Defined at line 39 of file ../../zircon/kernel/lib/arch/include/lib/arch/riscv64/system.h

template <, >
ExtState vs ()

Defined at line 39 of file ../../zircon/kernel/lib/arch/include/lib/arch/riscv64/system.h

template <, >
SelfType & set_spp (typename SelfType::ValueType val)

Defined at line 40 of file ../../zircon/kernel/lib/arch/include/lib/arch/riscv64/system.h

template <, >
typename SelfType::ValueType spp ()

NOLINTEND(misc-non-private-member-variables-in-classes)

Defined at line 40 of file ../../zircon/kernel/lib/arch/include/lib/arch/riscv64/system.h

template <, >
SelfType & set_ube (typename SelfType::ValueType val)

Defined at line 41 of file ../../zircon/kernel/lib/arch/include/lib/arch/riscv64/system.h

template <, >
typename SelfType::ValueType ube ()

NOLINTEND(misc-non-private-member-variables-in-classes)

Defined at line 41 of file ../../zircon/kernel/lib/arch/include/lib/arch/riscv64/system.h

template <, >
SelfType & set_spie (typename SelfType::ValueType val)

Defined at line 42 of file ../../zircon/kernel/lib/arch/include/lib/arch/riscv64/system.h

template <, >
typename SelfType::ValueType spie ()

NOLINTEND(misc-non-private-member-variables-in-classes)

Defined at line 42 of file ../../zircon/kernel/lib/arch/include/lib/arch/riscv64/system.h

template <, >
SelfType & set_sie (typename SelfType::ValueType val)

Defined at line 43 of file ../../zircon/kernel/lib/arch/include/lib/arch/riscv64/system.h

template <, >
typename SelfType::ValueType sie ()

NOLINTEND(misc-non-private-member-variables-in-classes)

Defined at line 43 of file ../../zircon/kernel/lib/arch/include/lib/arch/riscv64/system.h

Enumerations

enum Xlen
Name Value
k32 1
k64 2
k128 3

Defined at line 16 of file ../../zircon/kernel/lib/arch/include/lib/arch/riscv64/system.h

enum ExtState
Name Value
kOff 0
kInitial 1
kClean 2
kDirty 3

Defined at line 22 of file ../../zircon/kernel/lib/arch/include/lib/arch/riscv64/system.h

Records