Markus Armbruster | 9c93ae1 | 2016-06-29 16:09:50 +0200 | [diff] [blame] | 1 | #ifndef AARCH64_TARGET_SIGNAL_H |
| 2 | #define AARCH64_TARGET_SIGNAL_H |
Andreas Schwab | 1744aea | 2013-09-03 20:12:16 +0100 | [diff] [blame] | 3 | |
Andreas Schwab | 1744aea | 2013-09-03 20:12:16 +0100 | [diff] [blame] | 4 | /* this struct defines a stack used during syscall handling */ |
| 5 | |
| 6 | typedef struct target_sigaltstack { |
| 7 | abi_ulong ss_sp; |
| 8 | abi_int ss_flags; |
| 9 | abi_ulong ss_size; |
| 10 | } target_stack_t; |
| 11 | |
| 12 | |
| 13 | /* |
| 14 | * sigaltstack controls |
| 15 | */ |
| 16 | #define TARGET_SS_ONSTACK 1 |
| 17 | #define TARGET_SS_DISABLE 2 |
| 18 | |
| 19 | #define TARGET_MINSIGSTKSZ 2048 |
| 20 | #define TARGET_SIGSTKSZ 8192 |
| 21 | |
Laurent Vivier | e5171a9 | 2018-05-29 21:42:01 +0200 | [diff] [blame] | 22 | #include "../generic/signal.h" |
| 23 | |
Laurent Vivier | cb6ac80 | 2018-04-24 21:26:35 +0200 | [diff] [blame] | 24 | #define TARGET_ARCH_HAS_SETUP_FRAME |
Markus Armbruster | 9c93ae1 | 2016-06-29 16:09:50 +0200 | [diff] [blame] | 25 | #endif /* AARCH64_TARGET_SIGNAL_H */ |