CSR Bit Fields

RISC-V hstateen3 CSR Register

Address 0x60FPrivilege HypervisorAccess HRW / 64 bits on RV64; RV32 accesses the upper 32 bits through hstateen3hHypervisor and virtualization CSRs

hstateen3 is the Hypervisor State Enable 3 CSR.

Field Map

Understand hstateen3 By Bit Fields

2 key fields
63

SE3

Writable

Controls VS/VU access to sstateen3; this hstateen bit is always writable, not read-only.

SE3 (bit 63) — Controls VS/VU access to sstateen3; this hstateen bit is always writable, not read-only.

What This Field Controls

  • - Controls VS/VU access to sstateen3; this hstateen bit is always writable, not read-only.

Common Values

This field is better understood together with surrounding context than as a fixed memorized enumeration.

Open Official Manual
62:0

Reserved

Read-only zero

Currently undefined reserved bits read as zero.

Reserved (bits 62:0) — Currently undefined reserved bits read as zero.

What This Field Controls

  • - Currently undefined reserved bits read as zero.

Common Values

This field is better understood together with surrounding context than as a fixed memorized enumeration.

Open Official Manual

What To Check First When Reading This CSR

  • - hstateen3 is defined only when both H and Smstateen are implemented.
  • - When mstateen3[63] is zero, the corresponding hstateen3 bit reads as zero.

Risk Checks Before Writing

  • - After machine software changes mstateen3, it is responsible for initializing corresponding writable hstateen3 bits to zero; hypervisor software should enable it only when prepared to manage that state.

Put It Back Into A Real Flow

1

Confirm H and Smstateen are implemented.

2

Check mstateen3[63], then configure hstateen3[63].

3

A prohibited VS/VU access raises the applicable exception specified by the architecture.