qemu-e2k/target/s390x/tcg
Richard Henderson c8e7fef102 target/s390x: Implement s390_cpu_record_sigsegv
Move the masking of the address from cpu_loop into
s390_cpu_record_sigsegv -- this is governed by hw, not linux.
This does mean we have to raise our own exception, rather
than return to the fallback.

Use maperr to choose between PGM_PROTECTION and PGM_ADDRESSING.
Use the appropriate si_code for each in cpu_loop.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2021-11-02 07:00:52 -04:00
..
cc_helper.c target/s390x: start moving TCG-only code to tcg/ 2021-07-07 14:01:56 +02:00
crypto_helper.c target/s390x: start moving TCG-only code to tcg/ 2021-07-07 14:01:56 +02:00
excp_helper.c target/s390x: Implement s390_cpu_record_sigsegv 2021-11-02 07:00:52 -04:00
fpu_helper.c target/s390x: start moving TCG-only code to tcg/ 2021-07-07 14:01:56 +02:00
insn-data.def target/s390x: start moving TCG-only code to tcg/ 2021-07-07 14:01:56 +02:00
insn-format.def target/s390x: start moving TCG-only code to tcg/ 2021-07-07 14:01:56 +02:00
int_helper.c target/s390x: start moving TCG-only code to tcg/ 2021-07-07 14:01:56 +02:00
mem_helper.c target/s390x: Use probe_access_flags in s390_probe_access 2021-11-02 07:00:52 -04:00
meson.build target/s390x: start moving TCG-only code to tcg/ 2021-07-07 14:01:56 +02:00
misc_helper.c s390x/tcg: fix and optimize SPX (SET PREFIX) 2021-09-06 16:23:16 +02:00
s390-tod.h target/s390x: start moving TCG-only code to tcg/ 2021-07-07 14:01:56 +02:00
tcg_s390x.h target/s390x: start moving TCG-only code to tcg/ 2021-07-07 14:01:56 +02:00
translate_vx.c.inc tcg: Expand MO_SIZE to 3 bits 2021-10-05 16:53:17 -07:00
translate.c target/s390x: Drop check for singlestep_enabled 2021-10-15 16:39:14 -07:00
vec_fpu_helper.c target/s390x: start moving TCG-only code to tcg/ 2021-07-07 14:01:56 +02:00
vec_helper.c target/s390x: start moving TCG-only code to tcg/ 2021-07-07 14:01:56 +02:00
vec_int_helper.c target/s390x: start moving TCG-only code to tcg/ 2021-07-07 14:01:56 +02:00
vec_string_helper.c target/s390x: start moving TCG-only code to tcg/ 2021-07-07 14:01:56 +02:00
vec.h target/s390x: start moving TCG-only code to tcg/ 2021-07-07 14:01:56 +02:00