CSR Bit Fields

RISC-V hviprio2h CSR Register

Address 0x657Privilege Hypervisor (H extension)Access HRW / 32-bit, RV32 only; bits 63:32 of its low-half CSRHypervisor and virtualization CSRs

hviprio2h is the RV32 alias for hviprio2 bits 63:32.

Field Map

Understand hviprio2h By Bit Fields

4 key fields
7:0

IPRIO20

WARL or read-only zero

Unsigned priority number for interrupt 20.

IPRIO20 (bits 7:0) — Unsigned priority number for interrupt 20.

What This Field Controls

  • - Unsigned priority number for interrupt 20.

Common Values

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

Open Official Manual
15:8

IPRIO21

WARL or read-only zero

Unsigned priority number for interrupt 21.

IPRIO21 (bits 15:8) — Unsigned priority number for interrupt 21.

What This Field Controls

  • - Unsigned priority number for interrupt 21.

Common Values

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

Open Official Manual
23:16

IPRIO22

WARL or read-only zero

Unsigned priority number for interrupt 22.

IPRIO22 (bits 23:16) — Unsigned priority number for interrupt 22.

What This Field Controls

  • - Unsigned priority number for interrupt 22.

Common Values

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

Open Official Manual
31:24

IPRIO23

WARL or read-only zero

Unsigned priority number for interrupt 23.

IPRIO23 (bits 31:24) — Unsigned priority number for interrupt 23.

What This Field Controls

  • - Unsigned priority number for interrupt 23.

Common Values

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

Open Official Manual
Official Basis & Search Notes

hviprio2h is an AIA hypervisor CSR; it is not a VS CSR alias.

AIA VS-level interrupt rules define field layout, writability, and read-only-zero conditions.
This CSR aliases bits 63:32 of its low-half CSR.

What To Check First When Reading This CSR

  • - This CSR exists only with the H extension and AIA; AIA mstateen0.AIA does not restrict M-mode access.
  • - This high-half CSR is available only when XLEN=32; accessing a high-half CSR when XLEN>32 is illegal.

Risk Checks Before Writing

  • - Write only defined, implemented writable fields; confirm a WARL field by reading it back.

Put It Back Into A Real Flow

1

Confirm that H and AIA are implemented.

2

Confirm RV32/RV64 and whether each field is read-only zero or implemented writable.