mirror_qemu/target/m68k
Mark Cave-Ayland c7546abfaa target/m68k: always call gen_exit_tb() after writes to SR
Any write to SR can change the security state so always call gen_exit_tb() when
this occurs. In particular MacOS makes use of andiw/oriw in a few places to
handle the switch between user and supervisor mode.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220917112515.83905-5-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2022-09-21 15:10:57 +02:00
..
Kconfig meson: Introduce target-specific Kconfig 2021-07-09 18:21:34 +02:00
cpu-param.h Normalize header guard symbol definition 2022-05-11 16:50:26 +02:00
cpu-qom.h target: Introduce and use OBJECT_DECLARE_CPU_TYPE() macro 2022-03-06 22:23:09 +01:00
cpu.c target/m68k: rename M68K_FEATURE_M68000 to M68K_FEATURE_M68K 2022-09-21 15:10:49 +02:00
cpu.h target/m68k: rename M68K_FEATURE_M68000 to M68K_FEATURE_M68K 2022-09-21 15:10:49 +02:00
fpu_helper.c softfloat: Introduce Floatx80RoundPrec 2021-06-03 14:04:02 -07:00
gdbstub.c gdbstub: extend GByteArray to read register helpers 2020-03-17 17:38:38 +00:00
helper.c target/m68k: rename M68K_FEATURE_M68000 to M68K_FEATURE_M68K 2022-09-21 15:10:49 +02:00
helper.h target/m68k: Mark helper_raise_exception as noreturn 2022-06-02 09:35:03 +02:00
m68k-semi.c target/m68k: Convert semihosting errno to gdb remote errno 2022-09-13 17:18:21 +01:00
meson.build target/m68k: Make semihosting system only 2022-06-28 10:13:22 +05:30
monitor.c hmp: Pass monitor to mon_get_cpu_env() 2020-11-13 12:45:51 +00:00
op_helper.c target/m68k: rename M68K_FEATURE_M68000 to M68K_FEATURE_M68K 2022-09-21 15:10:49 +02:00
qregs.def target-m68k: use floatx80 internally 2017-06-21 22:10:29 +02:00
softfloat.c softfloat: Introduce Floatx80RoundPrec 2021-06-03 14:04:02 -07:00
softfloat.h softfloat: merge floatx80_mod and floatx80_rem 2020-06-26 09:39:37 -04:00
softfloat_fpsp_tables.h m68k comments break patch submission due to being incorrectly formatted 2019-06-26 17:14:39 +02:00
translate.c target/m68k: always call gen_exit_tb() after writes to SR 2022-09-21 15:10:57 +02:00