From fba087458d3ca6f5470e0cdec82aaefe0854ddb2 Mon Sep 17 00:00:00 2001 From: Chen Gang Date: Thu, 8 Oct 2020 12:31:05 +0800 Subject: linux-user: target: signal: Support TARGET_SS_AUTODISARM Add definitions to pass building. Signed-off-by: Chen Gang 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 --- linux-user/alpha/target_signal.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'linux-user/alpha') diff --git a/linux-user/alpha/target_signal.h b/linux-user/alpha/target_signal.h index b837972..0b90d3a 100644 --- a/linux-user/alpha/target_signal.h +++ b/linux-user/alpha/target_signal.h @@ -92,4 +92,10 @@ typedef struct target_sigaltstack { #define TARGET_GEN_SUBRNG7 -25 #define TARGET_ARCH_HAS_SETUP_FRAME + +/* 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 /* ALPHA_TARGET_SIGNAL_H */ -- cgit v1.1