ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 1,823 microarchs · 16,083 chips · 105 sources
Arch:
Tier:

sip

T1 riscv register register
Supervisor Interrupt Pending
SourceRISC-V Official Unified Database (riscv-unified-db) (riscv_unified_db)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeRISC-V Privileged (S)
RV32 / RV64 (Ratified & Standard Extensions)
License & VersionApache-2.0 / CC-BY-4.0
main
Upstreamhttps://github.com/riscv/riscv-unified-db
PrivilegeS
ExtensionsS

Summary

A restricted view of the interrupt pending bits in mip.

Syntax / Encoding

CSR 0x144 (S-mode, RW)

Bitfields (4)

BitsFieldDescription
13LCOFIP*Local Counter Overflow Interrupt pending* Reports the current pending state of a Local Counter Overflow interrupt. When Local Counter Overflow interrupts are not delegated to (H)S-mode (_i.e._, mideleg.LCOFI is clear), sip.LCOFIP is read-only 0. Otherwise, sip.LCOFIP is an alias of mip.LCOFIP. Software writes 0 to
9SEIP*Supervisor External Interrupt Pending* Reports the current pending state of an (H)S-mode external interrupt. When Supervisor External Interrupts are not delegated to (H)S-mode (_i.e._, mideleg.SEI is clear), sip.SEIP is read-only 0. Otherwise, sip.SEIP is a read-only view of mip.SEIP. To summarize: [separator="!",
5STIP*Supervisor Timer Interrupt Pending* Reports the current pending state of an (H)S-mode timer interrupt. When Supervisor Timer Interrupts are not delegated to (H)S-mode (_i.e._, mideleg.STI is clear), sip.STIP is read-only 0. Otherwise, sip.STIP is a read-only view of mip.STIP. <% if ext?(:Smaia) %>_Aliases_<% else
1SSIP*Supervisor Software Interrupt Pending* Reports the current pending state of an (H)S-mode software interrupt. When Supervisor Software Interrupts are not delegated to (H)S-mode (mideleg.SSI is clear), sip.SSIP is read-only 0. Otherwise, sip.SSIP is an alias of mip.SSIP. <%- if ext?(:Smaia) -%> When using AIA/IMSIC,

Reference Notes

A restricted view of the interrupt pending bits in `mip`.

Hypervisor-related interrupts (VS-mode interrupts and Supervisor Guest interrupts) are not reflected
in `sip` even though those interrupts can be taken in HS-mode. Instead, they are reported through `hip`.