linux-user: Correct definition of stack_t
[qemu/ar7.git] / linux-user / x86_64 / target_signal.h
blob4ea74f20dd42a32eebcd5f0b6f7d0ca327924e79
1 #ifndef X86_64_TARGET_SIGNAL_H
2 #define X86_64_TARGET_SIGNAL_H
4 /* this struct defines a stack used during syscall handling */
6 typedef struct target_sigaltstack {
7 abi_ulong ss_sp;
8 abi_int ss_flags;
9 abi_ulong ss_size;
10 } target_stack_t;
14 * sigaltstack controls
16 #define TARGET_SS_ONSTACK 1
17 #define TARGET_SS_DISABLE 2
19 #define TARGET_MINSIGSTKSZ 2048
20 #define TARGET_SIGSTKSZ 8192
22 #include "../generic/signal.h"
24 #endif /* X86_64_TARGET_SIGNAL_H */