Webcentive RISC-V Reference

vsie

Virtual supervisor interrupt-enable register

Address
0x204
Group
Hypervisor and VS CSRs
Privilege
HRW (privileged spec CSR listing, Virtual Supervisor Registers)
Access
read/write; lowest privilege H (hypervisor, including VS CSRs)
Address range
Standard read/write
Name in riscv-unified-db
Virtual Supervisor Interrupt Enable

Privileged spec: Virtual supervisor interrupt-enable register

Description

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.

From riscv-unified-db, reformatted.

Fields

FieldBitsTypeDescription
SSIE1RW-H

SSIE. Read-only zero when hideleg.VSSI is 0. Else, alias of hie.VSSIE.

STIE5RW-H

STIE. Read-only zero when hideleg.VSTI is 0. Else, alias of hie.VSTIE.

SEIE9RW-H

SEIE. Read-only zero when hideleg.VSEI is 0. Else, alias of hie.VSEIE.

LCOFIE13RW-H

LCOFIE. Read-only zero when hideleg.LCOFI is 0. Else, alias of sie.LCOFIE.

Fields from riscv-unified-db; field types computed by IDL functions there are not shown.

Specification and related pages