ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 903 microarchs · 15,772 chips · 105 sources
Arch:
Tier:

henvcfgh

T1 riscv register register
most-significant 32 bits of Hypervisor Environment Configuration
SourceRISC-V Official Unified Database (riscv-unified-db) (riscv_unified_db)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeRISC-V Privileged (H, Sm)
RV32 / RV64 (Ratified & Standard Extensions)
License & VersionApache-2.0 / CC-BY-4.0
main
Upstreamhttps://github.com/riscv/riscv-unified-db
PrivilegeS
ExtensionsH, Sm

Summary

The henvcfgh CSR is a 32-bit read/write register for the most-significant 32 bits of henvcfg.

Syntax / Encoding

CSR 0x61a (S-mode, RW)

Bitfields (3)

BitsFieldDescription
31STCE*STimecmp Enable* When set, stimecmp is operational in VS-mode if menvcfg.STCE is also set. When menvcfg.STCE is zero: * henvcfg.STCE reads-as-zero * vstimecmp access raises an IllegalInstruction exception. * hip.VSTIP reverts to its defined behavior as if Sstc is not implemented. * VS-mode timer interrupts will
30PBMTE*Page Based Memory Type Enable* The PBMTE bit controls whether the Svpbmt extension is available for use in VS-stage address translation. When PBMTE=1, Svpbmt is available for VS-stage address translation. When PBMTE=0, the implementation behaves as though Svpbmt were not implemented for VS-stage address translation
29ADUEIf the Svadu extension is implemented, the ADUE bit controls whether hardware updating of PTE A/D bits is enabled for VS-stage address translation. When ADUE=1, hardware updating of PTE A/D bits is enabled during VS-stage address translation, and the implementation behaves as though the Svade extension were not implem