hip
Hypervisor interrupt pending
- Address
0x644- Group
- Hypervisor and VS CSRs
- Privilege
HRW(privileged spec CSR listing, Hypervisor Trap Handling)- Access
- read/write; lowest privilege H (hypervisor, including VS CSRs)
- Address range
- Standard read/write
- Name in riscv-unified-db
- Hypervisor Interrupt Pending Register
Privileged spec: Hypervisor interrupt pending
Description
The hip register is an HSXLEN-bit read/write register that indicates pending interrupts at the hypervisor level.
It contains interrupt-pending bits for both VS-level and hypervisor-specific interrupts.
From riscv-unified-db, reformatted.
Fields
| Field | Bits | Type | Description |
|---|---|---|---|
SGEIP | 12 | RO-H | Pending interrupt bit for supervisor guest external interrupts (SGEI).
This bit is 1 if and only if the logical AND of |
VSEIP | 10 | RO-H | Pending interrupt bit for VS-level external interrupts (VSEI).
This bit is the logical OR of |
VSTIP | 6 | RO-H | Pending interrupt bit for VS-level timer interrupts (VSTI).
This bit is the logical OR of |
VSSIP | 2 | RO-H | Pending interrupt bit for VS-level software interrupts (VSSI).
This bit is an alias of the |
Fields from riscv-unified-db; field types computed by IDL functions there are not shown.
Specification and related pages
- The RISC-V Instruction Set Manual, Volume II: CSR listing (src/priv/csrs.adoc)
- riscv-opcodes csrs.csv
- riscv-unified-db: spec/std/isa/csr/H/hip.yaml
- csrrw, csrrs, csrrc (Zicsr instructions that access CSRs)