xref: /qemu/linux-user/i386/target_signal.h (revision 8ee8a104807f67595c1a1963dbee208a52cc513b)
19c93ae13SMarkus Armbruster #ifndef I386_TARGET_SIGNAL_H
29c93ae13SMarkus Armbruster #define I386_TARGET_SIGNAL_H
3a04e134aSths 
4a04e134aSths /* this struct defines a stack used during syscall handling */
5a04e134aSths 
6a04e134aSths typedef struct target_sigaltstack {
7992f48a0Sblueswir1     abi_ulong ss_sp;
8ce437484SLemonBoy     abi_int ss_flags;
9992f48a0Sblueswir1     abi_ulong ss_size;
10c227f099SAnthony Liguori } target_stack_t;
11a04e134aSths 
12a04e134aSths 
13a04e134aSths /*
14a04e134aSths  * sigaltstack controls
15a04e134aSths  */
16a04e134aSths #define TARGET_SS_ONSTACK	1
17a04e134aSths #define TARGET_SS_DISABLE	2
18a04e134aSths 
19a04e134aSths #define TARGET_MINSIGSTKSZ	2048
20a04e134aSths #define TARGET_SIGSTKSZ		8192
21a04e134aSths 
22e5171a9eSLaurent Vivier #include "../generic/signal.h"
23e5171a9eSLaurent Vivier 
24cb6ac802SLaurent Vivier #define TARGET_ARCH_HAS_SETUP_FRAME
25*8ee8a104SRichard Henderson #define TARGET_ARCH_HAS_SIGTRAMP_PAGE 1
26*8ee8a104SRichard Henderson 
279c93ae13SMarkus Armbruster #endif /* I386_TARGET_SIGNAL_H */
28