diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2021-09-18 10:34:30 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2021-11-02 07:00:52 -0400 |
commit | c8e7fef102058c3554b26a381e0a89ae05b9677b (patch) | |
tree | 90700dadf3af24dab8d0083aa64200aad5ace4e1 /linux-user/sh4/cpu_loop.c | |
parent | db9aab5783a2fb62250e12f0c4cfed5e1778c189 (diff) |
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>
Diffstat (limited to 'linux-user/sh4/cpu_loop.c')
0 files changed, 0 insertions, 0 deletions