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.
| 31:24 | 23:16 | 15:8 | 7:0 | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| — | LCOFIE | — | SEIE | — | STIE | — | SSIE | — | |||||||||||||||||||||||
| 63:56 | 55:48 | 47:40 | 39:32 | 31:24 | 23:16 | 15:8 | 7:0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| — | LCOFIE | — | SEIE | — | STIE | — | SSIE | — | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Bits | Field | Alias | Description | Type | Reset |
|---|---|---|---|---|---|
| [1] | SSIE | SSIE. Read-only zero when hideleg.VSSI is 0. Else, alias of hie.VSSIE. | RW-H | UNDEFINED_LEGAL | |
| [5] | STIE | STIE. Read-only zero when hideleg.VSTI is 0. Else, alias of hie.VSTIE. | RW-H | UNDEFINED_LEGAL | |
| [9] | SEIE | SEIE. Read-only zero when hideleg.VSEI is 0. Else, alias of hie.VSEIE. | RW-H | UNDEFINED_LEGAL | |
| [13] | LCOFIE | LCOFIE. Read-only zero when hideleg.LCOFI is 0. Else, alias of sie.LCOFIE. | RW-H | UNDEFINED_LEGAL |
XReg result = 0;
if (CSR[hideleg].VSSI == 1) {
result[1] = CSR[hie].VSSIE;
}
if (CSR[hideleg].VSTI == 1) {
result[5] = CSR[hie].VSTIE;
}
if (CSR[hideleg].VSEI == 1) {
result[9] = CSR[hie].VSEIE;
}
if (CSR[hideleg].LCOFI == 1) {
result[13] = CSR[sie].LCOFIE;
}
return result;Version af3eaf9+cheriot.f635218
Data from the RISC-V Unified Database, copyright RISC-V International and contributors.
CHERIoT extensions from the CHERIoT specification and Sail model, copyright Microsoft and the CHERIoT Platform contributors.
This site is provided as a community resource and is NOT affiliated with nor endorsed by RISC-V International.