xref: /openbmc/qemu/linux-user/openrisc/target_signal.h (revision 1bdefb5ac73a8a5f7cc4858627424ea88d6db6de)
1 #ifndef OPENRISC_TARGET_SIGNAL_H
2 #define OPENRISC_TARGET_SIGNAL_H
3 
4 /* this struct defines a stack used during syscall handling */
5 
6 typedef struct target_sigaltstack {
7     abi_long ss_sp;
8     abi_ulong ss_size;
9     abi_long ss_flags;
10 } target_stack_t;
11 
12 /* sigaltstack controls  */
13 #define TARGET_SS_ONSTACK     1
14 #define TARGET_SS_DISABLE     2
15 
16 #define TARGET_MINSIGSTKSZ    2048
17 #define TARGET_SIGSTKSZ       8192
18 
19 #include "../generic/signal.h"
20 
21 #endif /* OPENRISC_TARGET_SIGNAL_H */
22