Reports the current pending state of a VS-mode timer interrupt
, which is generated by M-mode and/or HS-mode software by writing to hvip.VSTIP.
mip.VSTIP is never writable. If VS-mode software wants to clear the bit, it must do so
by calling into the hypervisor (which can then clear hvip.VSTIP).
Aliases:
hip.VSTIP
vsip.STIP when hideleg.VSTI is set
hvip.VSTIP (though hvip.VSTIP is writeable)
Type
RO-H
Reset value
0
MTIP
Location
7
Description
Machine Timer Interrupt Pending
Reports the current pending state of an M-mode timer interrupt.
Bit is controlled by the timer device (using mtimecmp), and is not writeable.
Type
RO-H
Reset value
0
SEIP
Location
9
Description
Supervisor External Interrupt Pending
Reports the current pending state of an (H)S-mode external interrupt.
This field has two parts: a software-writeable shadow value and a wire from the interrupt controller.
The value presented to software in the bit on a CSR read is the logical OR of the software-writeable value and the interrupt controller value.
When software writes this bit, only the shadow value is updated (the interrupt controller is not notified of the write).