diff options
author | Emmanuel Blot <emmanuel.blot@sifive.com> | 2021-04-16 16:17:11 +0200 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2021-05-11 20:02:07 +1000 |
commit | f9e580c13ae0d42cf8989063254300c59166ffed (patch) | |
tree | b8ecfb4bbf3ccb3895a4d04c83deb0131877200d /qobject/json-streamer.c | |
parent | b11e84b883bf9b790732a03703559bf4797ad272 (diff) | |
download | qemu-f9e580c13ae0d42cf8989063254300c59166ffed.zip qemu-f9e580c13ae0d42cf8989063254300c59166ffed.tar.gz qemu-f9e580c13ae0d42cf8989063254300c59166ffed.tar.bz2 |
target/riscv: fix exception index on instruction access fault
When no MMU is used and the guest code attempts to fetch an instruction
from an invalid memory location, the exception index defaults to a data
load access fault, rather an instruction access fault.
Signed-off-by: Emmanuel Blot <emmanuel.blot@sifive.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: FB9EA197-B018-4879-AB0F-922C2047A08B@sifive.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'qobject/json-streamer.c')
0 files changed, 0 insertions, 0 deletions