summaryrefslogtreecommitdiffstats
path: root/include/hw
diff options
context:
space:
mode:
authorGeorg Kotheimer2021-03-11 10:47:38 +0100
committerAlistair Francis2021-03-23 02:54:40 +0100
commit9d5451e077cd84809bcdf460c39b5f4fec17fc79 (patch)
treef35cb6358f9d048430957f77f99d880f944f2f2d /include/hw
parenthw/riscv: allow ramfb on virt (diff)
downloadqemu-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