Markus Armbruster | 43e0c35 | 2019-03-15 15:51:18 +0100 | [diff] [blame] | 1 | #ifndef RISCV_TARGET_SIGNAL_H |
| 2 | #define RISCV_TARGET_SIGNAL_H |
Michael Clark | 47ae93c | 2018-03-03 01:31:11 +1300 | [diff] [blame] | 3 | |
Michael Clark | 47ae93c | 2018-03-03 01:31:11 +1300 | [diff] [blame] | 4 | typedef struct target_sigaltstack { |
| 5 | abi_ulong ss_sp; |
| 6 | abi_int ss_flags; |
| 7 | abi_ulong ss_size; |
| 8 | } target_stack_t; |
| 9 | |
| 10 | #define TARGET_SS_ONSTACK 1 |
| 11 | #define TARGET_SS_DISABLE 2 |
| 12 | |
| 13 | #define TARGET_MINSIGSTKSZ 2048 |
| 14 | #define TARGET_SIGSTKSZ 8192 |
| 15 | |
Laurent Vivier | e5171a9 | 2018-05-29 21:42:01 +0200 | [diff] [blame] | 16 | #include "../generic/signal.h" |
| 17 | |
Markus Armbruster | 43e0c35 | 2019-03-15 15:51:18 +0100 | [diff] [blame] | 18 | #endif /* RISCV_TARGET_SIGNAL_H */ |