vsip
Virtual supervisor interrupt pending
- Address
0x244- Group
- Hypervisor and VS CSRs
- Privilege
HRW(privileged spec CSR listing, Virtual Supervisor Registers)- Access
- read/write; lowest privilege H (hypervisor, including VS CSRs)
- Address range
- Standard read/write
- Name in riscv-unified-db
- Virtual Supervisor Interrupt Pending
Privileged spec: Virtual supervisor interrupt pending
Description
The vsip register is a VSXLEN-bit read/write register that is VS-mode’s version of the sip CSR.
When V=1, instructions that normally access sip instead access vsip. It holds the pending
interrupt status for supervisor-level traps in a virtualized environment.
However, interrupts directed to HS-level continue to be indicated in the HS-level sip register,
not in vsip, when V=1.
The standard portion (bits 15:0) includes individual interrupt-pending bits.
From riscv-unified-db, reformatted.
Fields
| Field | Bits | Type | Description |
|---|---|---|---|
SSIP | 1 | RW-H | Supervisor Software Interrupt Pending
Indicates a pending software interrupt at the supervisor level.
Read-only zero when |
STIP | 5 | RW-H | Supervisor Timer Interrupt Pending
Indicates a pending timer interrupt at the supervisor level.
Read-only zero when |
SEIP | 9 | RW-H | Supervisor External Interrupt Pending
Indicates a pending external interrupt at the supervisor level.
Read-only zero when |
LCOFIP | 13 | RW-H | Local Counter Overflow Interrupt Pending
Indicates an overflow of a local counter.
Read-only zero when |
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/vsip.yaml
- csrrw, csrrs, csrrc (Zicsr instructions that access CSRs)