qemu-e2k/target/sparc
Richard Henderson 2786a3f8d3 target/sparc: Use GET_ASI_CODE for ASI_KERNELTXT and ASI_USERTXT
Reads are done with execute access.  It is not clear whether writes
are legal at all -- for now, leave helper_st_asi unchanged, so that
we continue to raise an mmu fault.

This generalizes the exiting code for ASI_KERNELTXT to be usable for
ASI_USERTXT as well, by passing down the MemOpIdx to use.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2281
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2059
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1609
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1166
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tested-by: M Bazz <bazz@bazz1.com>
2024-04-12 14:48:01 -07:00
..
asi.h
cpu-feature.h.inc
cpu-param.h
cpu-qom.h
cpu.c
cpu.h
fop_helper.c
gdbstub.c
helper.c
helper.h target/sparc: Use GET_ASI_CODE for ASI_KERNELTXT and ASI_USERTXT 2024-04-12 14:48:01 -07:00
insns.decode
int32_helper.c
int64_helper.c
Kconfig
ldst_helper.c target/sparc: Use GET_ASI_CODE for ASI_KERNELTXT and ASI_USERTXT 2024-04-12 14:48:01 -07:00
machine.c
meson.build
mmu_helper.c
monitor.c
trace-events
trace.h
translate.c target/sparc: Use GET_ASI_CODE for ASI_KERNELTXT and ASI_USERTXT 2024-04-12 14:48:01 -07:00
vis_helper.c
win_helper.c