linux-user: move get_sp_from_cpustate() to target_cpu.h
[qemu/ar7.git] / linux-user / m68k / target_signal.h
blob0cf26b79e58e197b7f346395b63e38ab402da060
1 #ifndef M68K_TARGET_SIGNAL_H
2 #define M68K_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 #define TARGET_ARCH_HAS_SETUP_FRAME
23 #endif /* M68K_TARGET_SIGNAL_H */