vsie
riscv_unified_db)RV32 / RV64 (Ratified & Standard Extensions)
main
VSHSummary
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.
Syntax / Encoding
CSR 0x204 (VS-mode, RW)
Bitfields (4)
| Bits | Field | Description |
|---|---|---|
13 | LCOFIE | LCOFIE. Read-only zero when hideleg.LCOFI is 0. Else, alias of sie.LCOFIE. |
9 | SEIE | SEIE. Read-only zero when hideleg.VSEI is 0. Else, alias of hie.VSEIE. |
5 | STIE | STIE. Read-only zero when hideleg.VSTI is 0. Else, alias of hie.VSTIE. |
1 | SSIE | SSIE. Read-only zero when hideleg.VSSI is 0. Else, alias of hie.VSSIE. |
Reference Notes
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.