Webcentive RISC-V Reference

hcontext

Hypervisor-mode context register

Address
0x6A8
Group
Hypervisor and VS CSRs
Privilege
HRW (privileged spec CSR listing, Debug/Trace Registers)
Access
read/write; lowest privilege H (hypervisor, including VS CSRs)
Address range
Standard read/write
Name in riscv-unified-db
Hypervisor Context

Privileged spec: Hypervisor-mode context register

Description

This optional register may be implemented only if the H extension is implemented. If it is implemented, mcontext must also be implemented.

This register is only accessible in HS-Mode, M-mode and Debug Mode. If Smstateen is implemented, then accessibility of in HS-Mode is controlled by mstateen0[57].

This register is an alias of the mcontext register, providing access to the HCONTEXT field from HS-Mode.

From riscv-unified-db, reformatted.

Fields

FieldBitsTypeDescription
HCONTEXT13-0RW

Alias of mcontext.HCONTEXT.

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

Specification and related pages