CSR Bit Fields
RISC-V hstateen0h CSR Register
Address 0x61CPrivilege HypervisorAccess HRW / 32-bit RV32 high halfHypervisor and virtualization CSRs
hstateen0h is the RV32 high-half access window for hstateen0[63:32]; it does not exist on RV64.
Related Search Terms
bit 3 = only bit 3; bits 12..11 = bits 12 down to 11
MSBLSB
Field Map
Understand hstateen0h By Bit Fields
0 key fields
Official Basis & Search Notes
hstateen0h is the RV32 high-half access window for hstateen0[63:32]; it does not exist on RV64.
hstateen0 controls VM access to lower-privilege extension state; its bit values are constrained by the matching mstateen bit, implemented extensions, and read-only-zero rules.
What To Check First When Reading This CSR
- - This separate high-half CSR exists only when the defining extension is implemented and XLEN=32; it does not exist on RV64.
- - The Privileged Architecture CSR table defines its address and HRW class; field writability and read-only-zero conditions depend on the defining extension and implementation.
Risk Checks Before Writing
- - Write only fields that are explicitly implemented and writable; do not assign portable software meaning to reserved or specification-required read-only-zero bits.
Put It Back Into A Real Flow
1
Confirm that H and the optional extension defining the field are implemented, then access it from an M or HS context.
2
On RV32, use this address for bits 63:32 of the corresponding 64-bit CSR; do not access this address on RV64.