sip

Supervisor Interrupt Pending

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.

Attributes

Defining Extension

  • S, version >= 0

CSR Address

0x144

Length

64-bit

Privilege Mode

S

Format

sip format
Figure 1. sip format

Field Summary

Name Location Type Reset Value

SSIP

1

RW

UNDEFINED_LEGAL

STIP

5

RO-H

UNDEFINED_LEGAL

SEIP

9

RO-H

UNDEFINED_LEGAL

LCOFIP

13

RW-H

UNDEFINED_LEGAL

Fields

SSIP

Location

1

Description

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.


Since it is an alias, writes to sip.SSIP are also be reflected in mip.SSIP.

Alias:

Type

RW

Reset value

UNDEFINED_LEGAL

STIP

Location

5

Description

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.

Alias:

Type

RO-H

Reset value

UNDEFINED_LEGAL

SEIP

Location

9

Description

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="!",%autowidth]
!===
! mideleg.SEI ! sip.SEIP behavior

! 0 ! read-only 0
! 1 ! read-only alias of mip.SEIP
!===

Type

RO-H

Reset value

UNDEFINED_LEGAL

LCOFIP

Location

13

Description

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 sip.LCOFIP to clear the pending interrupt.

To summarize:
[separator="!",%autowidth]
!===
! mideleg.LCOFI ! sip.LCOFIP behavior

! 0 ! read-only 0
! 1
a! writeable alias of mip.LCOFIP (and vsip.LCOFIP when hideleg.LCOFI is set)
!===

Type

RW-H

Reset value

UNDEFINED_LEGAL