1 #ifndef RISCV_TARGET_SIGNAL_H 2 #define RISCV_TARGET_SIGNAL_H 3 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 16 #include "../generic/signal.h" 17 18 #define TARGET_ARCH_HAS_SIGTRAMP_PAGE 1 19 20 #endif /* RISCV_TARGET_SIGNAL_H */ 21