]>
Commit | Line | Data |
---|---|---|
9c93ae13 MA |
1 | #ifndef PPC_TARGET_SIGNAL_H |
2 | #define PPC_TARGET_SIGNAL_H | |
a04e134a | 3 | |
a04e134a TS |
4 | /* this struct defines a stack used during syscall handling */ |
5 | ||
6 | typedef struct target_sigaltstack { | |
992f48a0 | 7 | abi_ulong ss_sp; |
e32448e0 | 8 | int ss_flags; |
992f48a0 | 9 | abi_ulong ss_size; |
c227f099 | 10 | } target_stack_t; |
a04e134a TS |
11 | |
12 | ||
13 | /* | |
14 | * sigaltstack controls | |
15 | */ | |
16 | #define TARGET_SS_ONSTACK 1 | |
17 | #define TARGET_SS_DISABLE 2 | |
18 | ||
19 | #define TARGET_MINSIGSTKSZ 2048 | |
20 | #define TARGET_SIGSTKSZ 8192 | |
21 | ||
e5171a9e LV |
22 | #include "../generic/signal.h" |
23 | ||
9340edda | 24 | #if !defined(TARGET_PPC64) |
cb6ac802 | 25 | #define TARGET_ARCH_HAS_SETUP_FRAME |
9340edda | 26 | #endif |
9c93ae13 | 27 | #endif /* PPC_TARGET_SIGNAL_H */ |