|
| 1 | +# yaml-language-server: $schema=../../../schemas/csr_schema.json |
| 2 | + |
| 3 | +$schema: "csr_schema.json#" |
| 4 | +kind: csr |
| 5 | +name: vsie |
| 6 | +address: 0x204 |
| 7 | +virtual_address: 0x144 |
| 8 | +long_name: Virtual Supervisor Interrupt Enable |
| 9 | +description: | |
| 10 | + The vsie register is a VSXLEN-bit read/write register that is VS-mode’s version of |
| 11 | + supervisor CSR sie. When V=1, vsie substitutes for the usual sie, so instructions that |
| 12 | + normally read or modify sie actually access vsie instead. However, interrupts directed to |
| 13 | + HS-level continue to be indicated in the HS-level sip register, not in vsip, when V=1. |
| 14 | +
|
| 15 | + The standard portion (bits 15:0) of vsie is formatted as follows: |
| 16 | + 15 14 13 12 10 9 8 6 5 4 2 1 0 |
| 17 | + 0 LCOFIE 0 SEIE 0 STIE 0 SSIE 0 |
| 18 | + 2 1 3 1 3 1 3 1 1 |
| 19 | +
|
| 20 | + When bit 13 of hideleg is zero, vsie.LCOFIE is read-only zero. Else, vsie.LCOFIE is an alias of sie.LCOFIE. |
| 21 | + When bit 10 of hideleg is zero, vsie.SEIE is read-only zero. Else, vsie.SEIE is an alias of hie.VSEIE. |
| 22 | + When bit 6 of hideleg is zero, vsie.STIE is read-only zero. Else, vsie.STIE is an alias of hie.VSTIE. |
| 23 | + When bit 2 of hideleg is zero, vsie.SSIE is read-only zero. Else, vsie.SSIE is an alias of hie.VSSIE. |
| 24 | +priv_mode: VS |
| 25 | +definedBy: H |
| 26 | +length: VSXLEN |
| 27 | +fields: |
| 28 | + SSIE: |
| 29 | + location: 1 |
| 30 | + type: RW-H |
| 31 | + reset_value: UNDEFINED_LEGAL |
| 32 | + alias: hie.VSSIE[0] |
| 33 | + description: | |
| 34 | + SSIE. Read-only zero when hideleg[2] is 0. Else, alias of hie.VSSIE. |
| 35 | +
|
| 36 | + STIE: |
| 37 | + location: 5 |
| 38 | + type: RW-H |
| 39 | + reset_value: UNDEFINED_LEGAL |
| 40 | + alias: hie.VSTIE[0] |
| 41 | + description: | |
| 42 | + STIE. Read-only zero when hideleg[6] is 0. Else, alias of hie.VSTIE. |
| 43 | +
|
| 44 | + SEIE: |
| 45 | + location: 9 |
| 46 | + type: RW-H |
| 47 | + reset_value: UNDEFINED_LEGAL |
| 48 | + alias: hie.VSEIE[0] |
| 49 | + description: | |
| 50 | + SEIE. Read-only zero when hideleg[10] is 0. Else, alias of hie.VSEIE. |
| 51 | +
|
| 52 | + LCOFIE: |
| 53 | + location: 13 |
| 54 | + type: RW-H |
| 55 | + reset_value: UNDEFINED_LEGAL |
| 56 | + alias: sie.LCOFIE[0] |
| 57 | + description: | |
| 58 | + LCOFIE. Read-only zero when hideleg[13] is 0. Else, alias of sie.LCOFIE. |
0 commit comments