diff options
| author | Georg Kotheimer | 2021-03-11 10:47:38 +0100 |
|---|---|---|
| committer | Alistair Francis | 2021-03-23 02:54:40 +0100 |
| commit | 9d5451e077cd84809bcdf460c39b5f4fec17fc79 (patch) | |
| tree | f35cb6358f9d048430957f77f99d880f944f2f2d /include/hw | |
| parent | hw/riscv: allow ramfb on virt (diff) | |
| download | qemu-9d5451e077cd84809bcdf460c39b5f4fec17fc79.tar.gz qemu-9d5451e077cd84809bcdf460c39b5f4fec17fc79.tar.xz qemu-9d5451e077cd84809bcdf460c39b5f4fec17fc79.zip | |
target/riscv: Fix read and write accesses to vsip and vsie
The previous implementation was broken in many ways:
- Used mideleg instead of hideleg to mask accesses
- Used MIP_VSSIP instead of VS_MODE_INTERRUPTS to mask writes to vsie
- Did not shift between S bits and VS bits (VSEIP <-> SEIP, ...)
Signed-off-by: Georg Kotheimer <georg.kotheimer@kernkonzept.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20210311094738.1376795-1-georg.kotheimer@kernkonzept.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'include/hw')
0 files changed, 0 insertions, 0 deletions
