diff options
author | Alistair Francis <alistair.francis@wdc.com> | 2020-08-12 12:13:46 -0700 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2020-08-25 09:11:36 -0700 |
commit | 57cb2083e638bb28616c059cbf067d99552a04bb (patch) | |
tree | 91af90620ee41fce6ea8e8c2450fce6feaeff556 /target/riscv/insn_trans | |
parent | 83028098f45a08da209799aeea4801c362d0afeb (diff) | |
download | qemu-57cb2083e638bb28616c059cbf067d99552a04bb.zip qemu-57cb2083e638bb28616c059cbf067d99552a04bb.tar.gz qemu-57cb2083e638bb28616c059cbf067d99552a04bb.tar.bz2 |
target/riscv: Return the exception from invalid CSR accesses
When performing a CSR access let's return a negative exception value on
an error instead of -1. This will allow us to specify the exception in
future patches.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: a487dad60c9b8fe7a2b992c5e0dcc2504a9000a7.1597259519.git.alistair.francis@wdc.com
Message-Id: <a487dad60c9b8fe7a2b992c5e0dcc2504a9000a7.1597259519.git.alistair.francis@wdc.com>
Diffstat (limited to 'target/riscv/insn_trans')
0 files changed, 0 insertions, 0 deletions