vsie
Virtual Supervisor Interrupt Enable
The vsie register is a VSXLEN-bit read/write register that is VS-mode’s version of supervisor CSR sie. When V=1, vsie substitutes for the usual sie, so instructions that normally read or modify sie actually access vsie instead. However, interrupts directed to HS-level continue to be indicated in the HS-level sip register, not in vsip, when V=1.
When bit 13 of hideleg is zero, vsie.LCOFIE is read-only zero. Else, vsie.LCOFIE is an alias of sie.LCOFIE. When bit 10 of hideleg is zero, vsie.SEIE is read-only zero. Else, vsie.SEIE is an alias of hie.VSEIE. When bit 6 of hideleg is zero, vsie.STIE is read-only zero. Else, vsie.STIE is an alias of hie.VSTIE. When bit 2 of hideleg is zero, vsie.SSIE is read-only zero. Else, vsie.SSIE is an alias of hie.VSSIE.
Attributes
CSR Address |
0x204 |
|---|---|
Virtual CSR Address |
0x104 |
Defining extension |
|
Length |
64-bit |
Privilege Mode |
VS |
Fields
SSIE
- Location
-
vsie[1] - Description
-
SSIE. Read-only zero when hideleg.VSSI is 0. Else, alias of hie.VSSIE.
- Type
RW-H |
Read-Write with Hardware update Field is writable by software. Any value that fits in the field is acceptable. Hardware also updates the field without an explicit software write. |
STIE
- Location
-
vsie[5] - Description
-
STIE. Read-only zero when hideleg.VSTI is 0. Else, alias of hie.VSTIE.
- Type
RW-H |
Read-Write with Hardware update Field is writable by software. Any value that fits in the field is acceptable. Hardware also updates the field without an explicit software write. |
SEIE
- Location
-
vsie[9] - Description
-
SEIE. Read-only zero when hideleg.VSEI is 0. Else, alias of hie.VSEIE.
- Type
RW-H |
Read-Write with Hardware update Field is writable by software. Any value that fits in the field is acceptable. Hardware also updates the field without an explicit software write. |
LCOFIE
- Location
-
vsie[13] - Description
-
LCOFIE. Read-only zero when hideleg.LCOFI is 0. Else, alias of sie.LCOFIE.
- Type
RW-H |
Read-Write with Hardware update Field is writable by software. Any value that fits in the field is acceptable. Hardware also updates the field without an explicit software write. |
- Reset value
-
UNDEFINED_LEGAL
- Software write
-
This field has special behavior when written by software (e.g., through csrrw).
When software tries to write
csr_value, the field will be written with the return value of the function below.