qemu/target/sparc
KONRAD Frederic 6e10f37c86 sparc: fix leon3 casa instruction when MMU is disabled
Since the commit af7a06bac7:
`casa [..](10), .., ..` (and probably others alternate space instructions)
triggers a data access exception when the MMU is disabled.

When we enter get_asi(...) dc->mem_idx is set to MMU_PHYS_IDX when the MMU
is disabled. Just keep mem_idx unchanged in this case so we passthrough the
MMU when it is disabled.

Signed-off-by: KONRAD Frederic <frederic.konrad@adacore.com>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
2018-03-08 07:22:03 +00:00
..
asi.h
cc_helper.c
cpu-qom.h
cpu.c
cpu.h
fop_helper.c
gdbstub.c
helper.c
helper.h
int32_helper.c
int64_helper.c
ldst_helper.c
machine.c
Makefile.objs
mmu_helper.c
monitor.c
TODO
trace-events
translate.c sparc: fix leon3 casa instruction when MMU is disabled 2018-03-08 07:22:03 +00:00
vis_helper.c
win_helper.c