aboutsummaryrefslogtreecommitdiff
path: root/linux-user/hppa
diff options
context:
space:
mode:
authorChen Gang <chengang@emindsoft.com.cn>2020-10-08 12:31:05 +0800
committerLaurent Vivier <laurent@vivier.eu>2021-02-13 22:50:50 +0100
commitfba087458d3ca6f5470e0cdec82aaefe0854ddb2 (patch)
treedf6bede2321a8163b1999b2821c9674388e35f41 /linux-user/hppa
parentec63e06ef7edd8fb048fe41b901d68c888df9e6c (diff)
downloadqemu-fba087458d3ca6f5470e0cdec82aaefe0854ddb2.zip
qemu-fba087458d3ca6f5470e0cdec82aaefe0854ddb2.tar.gz
qemu-fba087458d3ca6f5470e0cdec82aaefe0854ddb2.tar.bz2
linux-user: target: signal: Support TARGET_SS_AUTODISARM
Add definitions to pass building. Signed-off-by: Chen Gang <chengang@emindsoft.com.cn> Message-Id: <20201008043105.21058-1-chengang@emindsoft.com.cn> [lv: added the definitions in linux-user/generic/signal.h too] Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/hppa')
-rw-r--r--linux-user/hppa/target_signal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/linux-user/hppa/target_signal.h b/linux-user/hppa/target_signal.h
index c52a3ea..7f52536 100644
--- a/linux-user/hppa/target_signal.h
+++ b/linux-user/hppa/target_signal.h
@@ -66,4 +66,9 @@ typedef struct target_sigaltstack {
#define TARGET_MINSIGSTKSZ 2048
#define TARGET_SIGSTKSZ 8192
+/* bit-flags */
+#define TARGET_SS_AUTODISARM (1U << 31) /* disable sas during sighandling */
+/* mask for all SS_xxx flags */
+#define TARGET_SS_FLAG_BITS TARGET_SS_AUTODISARM
+
#endif /* HPPA_TARGET_SIGNAL_H */