diff options
author | Richard Henderson | 2021-09-18 19:34:30 +0200 |
---|---|---|
committer | Richard Henderson | 2021-11-02 12:00:52 +0100 |
commit | c8e7fef102058c3554b26a381e0a89ae05b9677b (patch) | |
tree | 90700dadf3af24dab8d0083aa64200aad5ace4e1 /linux-user/sparc | |
parent | target/s390x: Use probe_access_flags in s390_probe_access (diff) | |
download | qemu-c8e7fef102058c3554b26a381e0a89ae05b9677b.tar.gz qemu-c8e7fef102058c3554b26a381e0a89ae05b9677b.tar.xz qemu-c8e7fef102058c3554b26a381e0a89ae05b9677b.zip |
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/sparc')
0 files changed, 0 insertions, 0 deletions