unicorn/qemu/target/sparc
KONRAD Frederic 4b9a1ceb4a
sparc: fix leon3 casa instruction when MMU is disabled
Since the commit af7a06bac7d3abb2da48ef3277d2a415772d2ae8:
`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.

Backports commit 6e10f37c86068e35151f982c976a85f1bec07ef2 from qemu
2018-03-09 01:39:53 -05:00
..
asi.h
cc_helper.c
cpu-qom.h sparc: convert cpu models to SPARC cpu subclasses 2018-03-07 21:30:22 -05:00
cpu.c sparc: move adhoc CPUSPARCState initialization to realize time 2018-03-07 21:40:33 -05:00
cpu.h target/*/cpu.h: remove softfloat.h 2018-03-08 09:58:47 -05:00
fop_helper.c target/*/cpu.h: remove softfloat.h 2018-03-08 09:58:47 -05:00
helper.c
helper.h
int32_helper.c sparc: embed sparc_def_t into CPUSPARCState 2018-03-07 21:35:23 -05:00
int64_helper.c sparc: embed sparc_def_t into CPUSPARCState 2018-03-07 21:35:23 -05:00
ldst_helper.c sparc: embed sparc_def_t into CPUSPARCState 2018-03-07 21:35:23 -05:00
Makefile.objs
mmu_helper.c sparc: embed sparc_def_t into CPUSPARCState 2018-03-07 21:35:23 -05:00
TODO
translate.c sparc: fix leon3 casa instruction when MMU is disabled 2018-03-09 01:39:53 -05:00
unicorn.c unicorn/sparc: Lessen the use of the SPARC_CPU macro 2018-03-07 10:46:18 -05:00
unicorn.h
unicorn64.c unicorn/sparc: Lessen the use of the SPARC_CPU macro 2018-03-07 10:46:18 -05:00
vis_helper.c
win_helper.c sparc: embed sparc_def_t into CPUSPARCState 2018-03-07 21:35:23 -05:00