summaryrefslogtreecommitdiffstats
path: root/hmp.c
diff options
context:
space:
mode:
authorPeter Maydell2017-11-06 19:33:26 +0100
committerRiku Voipio2017-11-07 20:59:51 +0100
commit78bfef72fbf8705f002c5c57cf3f1d3b8e83399e (patch)
treea34b8c1c486f87655de8ae7f0dc5c0eaf8ca0520 /hmp.c
parentlinux-user/sparc: Put address for data faults where linux-user expects it (diff)
downloadqemu-78bfef72fbf8705f002c5c57cf3f1d3b8e83399e.tar.gz
qemu-78bfef72fbf8705f002c5c57cf3f1d3b8e83399e.tar.xz
qemu-78bfef72fbf8705f002c5c57cf3f1d3b8e83399e.zip
linux-user: Handle rt_sigaction correctly for SPARC
SPARC is like Alpha in its handling of the rt_sigaction syscall: it takes an extra parameter 'restorer' which needs to be copied into the sa_restorer field of the sigaction struct. The order of the arguments differs slightly between SPARC and Alpha but the implementation is otherwise the same. (Compare the rt_sigaction() functions in arch/sparc/kernel/sys_sparc_64.c and arch/alpha/kernel/signal.c.) Note that this change is somewhat moot until SPARC acquires support for actually delivering RT signals. Reviewed-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'hmp.c')
0 files changed, 0 insertions, 0 deletions