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