summaryrefslogtreecommitdiffstats
path: root/linux-user/alpha/target_signal.h
diff options
context:
space:
mode:
authorRichard Henderson2021-09-29 15:05:33 +0200
committerLaurent Vivier2021-10-01 12:03:48 +0200
commitdd55f1c8b217e14293f42d8531371b7c626c61dd (patch)
treeccf9badea325af5fefaf91b913b8b5f146ae8553 /linux-user/alpha/target_signal.h
parentlinux-user/arm: Implement setup_sigtramp (diff)
downloadqemu-dd55f1c8b217e14293f42d8531371b7c626c61dd.tar.gz
qemu-dd55f1c8b217e14293f42d8531371b7c626c61dd.tar.xz
qemu-dd55f1c8b217e14293f42d8531371b7c626c61dd.zip
linux-user/alpha: Implement setup_sigtramp
Create and record the two signal trampolines. Use them when the guest does not use ka_restorer. Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20210929130553.121567-7-richard.henderson@linaro.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/alpha/target_signal.h')
-rw-r--r--linux-user/alpha/target_signal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-user/alpha/target_signal.h b/linux-user/alpha/target_signal.h
index 250642913e..0b6a39de65 100644
--- a/linux-user/alpha/target_signal.h
+++ b/linux-user/alpha/target_signal.h
@@ -93,6 +93,7 @@ typedef struct target_sigaltstack {
#define TARGET_ARCH_HAS_SETUP_FRAME
#define TARGET_ARCH_HAS_KA_RESTORER
+#define TARGET_ARCH_HAS_SIGTRAMP_PAGE 1
/* bit-flags */
#define TARGET_SS_AUTODISARM (1U << 31) /* disable sas during sighandling */