mirror of
https://github.com/qemu/qemu.git
synced 2024-12-14 23:13:29 +08:00
31330e6cec
Create and record the two signal trampolines. Use them when the guest does not use SA_RESTORER. Cc: qemu-s390x@nongnu.org Tested-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20210929130553.121567-22-richard.henderson@linaro.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
25 lines
497 B
C
25 lines
497 B
C
#ifndef S390X_TARGET_SIGNAL_H
|
|
#define S390X_TARGET_SIGNAL_H
|
|
|
|
typedef struct target_sigaltstack {
|
|
abi_ulong ss_sp;
|
|
abi_int ss_flags;
|
|
abi_ulong ss_size;
|
|
} target_stack_t;
|
|
|
|
/*
|
|
* sigaltstack controls
|
|
*/
|
|
#define TARGET_SS_ONSTACK 1
|
|
#define TARGET_SS_DISABLE 2
|
|
|
|
#define TARGET_MINSIGSTKSZ 2048
|
|
#define TARGET_SIGSTKSZ 8192
|
|
|
|
#include "../generic/signal.h"
|
|
|
|
#define TARGET_ARCH_HAS_SETUP_FRAME
|
|
#define TARGET_ARCH_HAS_SIGTRAMP_PAGE 1
|
|
|
|
#endif /* S390X_TARGET_SIGNAL_H */
|