Revert commit d4e5ec877ca
[qemu.git] / linux-user / sh4 / target_signal.h
blob434970a9900a1c4eeb50513489c2ffce2db49d40
1 #ifndef SH4_TARGET_SIGNAL_H
2 #define SH4_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_long 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 #define TARGET_ARCH_HAS_SETUP_FRAME
25 #endif /* SH4_TARGET_SIGNAL_H */