aboutsummaryrefslogtreecommitdiff
path: root/linux-user/syscall_defs.h
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2017-10-31 13:53:53 +0100
committerRiku Voipio <riku.voipio@linaro.org>2017-11-07 21:58:12 +0200
commit2da6e76ccaf5c5aad4192fddaa2062480ad82345 (patch)
tree96b6617d6e186ca5f24c2a2729f27cedec2ac9dc /linux-user/syscall_defs.h
parent7f047de18cf6cd51915d4fdbe1a7e66c38b45e98 (diff)
downloadqemu-2da6e76ccaf5c5aad4192fddaa2062480ad82345.zip
qemu-2da6e76ccaf5c5aad4192fddaa2062480ad82345.tar.gz
qemu-2da6e76ccaf5c5aad4192fddaa2062480ad82345.tar.bz2
linux-user/hppa: Fix TARGET_SA_* defines
Reviewed-by: Laurent Vivier <laurent@vivier.eu> Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'linux-user/syscall_defs.h')
-rw-r--r--linux-user/syscall_defs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h
index e366183..38339ec 100644
--- a/linux-user/syscall_defs.h
+++ b/linux-user/syscall_defs.h
@@ -473,6 +473,14 @@ int do_sigaction(int sig, const struct target_sigaction *act,
#define TARGET_SA_RESETHAND 0x00000010
#define TARGET_SA_NOCLDWAIT 0x00000020 /* not supported yet */
#define TARGET_SA_SIGINFO 0x00000040
+#elif defined(TARGET_HPPA)
+#define TARGET_SA_ONSTACK 0x00000001
+#define TARGET_SA_RESETHAND 0x00000004
+#define TARGET_SA_NOCLDSTOP 0x00000008
+#define TARGET_SA_SIGINFO 0x00000010
+#define TARGET_SA_NODEFER 0x00000020
+#define TARGET_SA_RESTART 0x00000040
+#define TARGET_SA_NOCLDWAIT 0x00000080
#else
#define TARGET_SA_NOCLDSTOP 0x00000001
#define TARGET_SA_NOCLDWAIT 0x00000002 /* not supported yet */