sip
Attributes
Requirement |
|||
|---|---|---|---|
Defining extensions |
|
||
CSR Address |
0x144 |
||
Length |
64-bit |
||
Privilege Mode |
S |
Field Summary
| Name | Location | Type | Reset Value |
|---|---|---|---|
1 |
RW |
UNDEFINED_LEGAL |
|
5 |
RO-H |
UNDEFINED_LEGAL |
|
9 |
RO-H |
UNDEFINED_LEGAL |
|
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.
<%- if ext?(:Smaia) -%> When using AIA/IMSIC, IPIs are expected to be delivered as external interrupts and SSIP is not backed by any hardware update (aside from any aliasing effects).
However, SSIP is still writable by S-mode software and, when written, can be used to generate an S-mode Software Interrupt. <%- end -%>
Since it is an alias, writes to sip.SSIP are also be reflected in mip.SSIP<% if ext?(:Smaia) %> and mvip.SSIP<% end %>.
<% if ext?(:Smaia) %>_Aliases_<% else %>_Alias_<% end %>:
-
mip.SSIP when mideleg.SSI is set <%- if ext?(:Smaia) -%>
-
mvip.SSIPwhen mideleg.SSI is set <%- end -%>
To summarize:
| mideleg.SSI | sip.SSIP behavior |
|---|---|
0 |
read-only 0 |
1 |
writable alias of mip.SSIP <% if ext?(:Smaia) %>and |
- 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.
<% if ext?(:Smaia) %>_Aliases_<% else %>_Alias_<% end %>:
-
mip.STIP when mideleg.STI is set <%- if ext?(:Smaia) -%>
-
mvip.STIPwhen mideleg.SSI is set and menvcfg.STCE is clear. <%- end -%>
To summarize:
| mideleg.STI | sip.STIP behavior |
|---|---|
0 |
read-only 0 |
1 |
read-only alias of mip.STIP <% if ext?(:Smaia) %>(and |
- 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.
To summarize:
| 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:
| mideleg.LCOFI | sip.LCOFIP behavior |
|---|---|
0 |
read-only 0 |
1 |
writable alias of mip.LCOFIP (and |
- Type
-
RW-H
- Reset value
-
UNDEFINED_LEGAL