Merge remote-tracking branch 'remotes/alistair/tags/pull-riscv-to-apply-20210511...
[qemu.git] / linux-user / nios2 / target_signal.h
1 #ifndef NIOS2_TARGET_SIGNAL_H
2 #define NIOS2_TARGET_SIGNAL_H
3
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 /* sigaltstack controls */
14 #define TARGET_SS_ONSTACK 1
15 #define TARGET_SS_DISABLE 2
16
17 #define TARGET_MINSIGSTKSZ 2048
18 #define TARGET_SIGSTKSZ 8192
19
20 #include "../generic/signal.h"
21
22 #endif /* NIOS2_TARGET_SIGNAL_H */