mie
Machine Interrupt Enable
mip.yaml#/description
Attributes
Requirement |
|||
|---|---|---|---|
Defining extensions |
|
||
CSR Address |
0x304 |
||
Length |
* 32 when CSR[misa].MXL == 0 * 64 when CSR[misa].MXL == 1 |
||
Privilege Mode |
M |
Format
This CSR format changes dynamically.
Fields
SSIE
- Location
-
1
- Description
-
Enables Supervisor Software Interrupts.
Alias of sie.SSIE when mideleg.SSI is set. Otherwise, sie.SSIE is read-only 0.
- Type
-
RW
- Reset value
-
0
VSSIE
- Location
-
2
- Description
-
Enables Virtual Supervisor Software Interrupts.
Alias of hie.VSSIE.
Alias of vsie.SSIE when hideleg.VSSI is set. Otherwise, vseie.SSIE is read-only 0.
Alias of sie.SSIE when hideleg.VSSI is set and the current mode is VS or VU
(Because mie is inaccessible in VS or VU mode, this alias can never be observed by software).
- Type
-
RW
- Reset value
-
0
STIE
- Location
-
5
- Description
-
Enables Supervisor Timer Interrupts.
Alias of sip when mideleg.STI is set. Otherwise, sip is read-only 0.
- Type
-
RW
- Reset value
-
0
VSTIE
- Location
-
6
- Description
-
Enables Virtual Supervisor Timer Interrupts.
Alias of hie.VSTIE.
Alias of vsie.STIE when hideleg.VSTI is set. Otherwise, vseie.STIE is read-only 0.
Alias of sie.STIE when hideleg.VSTI is set and the current mode is VS or VU
(Because mie is inaccessible in VS or VU mode, this alias can never be observed by software).
- Type
-
RW
- Reset value
-
0
SEIE
- Location
-
9
- Description
-
Enables Supervisor External Interrupts.
Alias of sie.SEIE when mideleg.SEI is set. Otherwise, sie.SEIE is read-only 0.
- Type
-
RW
- Reset value
-
0
VSEIE
- Location
-
10
- Description
-
Enables Virtual Supervisor External Interrupts.
Alias of hie.VSEIE.
Alias of vsie.SEIE when hideleg.VSEI is set. Otherwise, vseie.SEIE is read-only 0.
Alias of sie.SEIE when hideleg.VSEI is set and the current mode is VS or VU
(Because mie is inaccessible in VS or VU mode, this alias can never be observed by software).
- Type
-
RW
- Reset value
-
0
SGEIE
- Location
-
12
- Description
-
Enables Supervisor Guest External Interrupts
Alias of hie.SGEIE.
- Type
-
RW
- Reset value
-
0
LCOFIE
- Location
-
13
- Description
-
Enables Local Counter Overflow Interrupts.
Alias of sie.LCOFIE when mideleg.LCOFI is set. Otherwise, sie.LCOFIE is an independent writable bit when mvien.LCOFI is set or is read-only 0.
Alias of vsip.LCOFIE when hideleg.LCOFI is set. Otherwise, vsip.LCOFIE is read-only 0.
- Type
-
RW
- Reset value
-
0