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; 8992f48a0Sblueswir1 abi_long 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 22*e5171a9eSLaurent Vivier #include "../generic/signal.h" 23*e5171a9eSLaurent Vivier 24cb6ac802SLaurent Vivier #define TARGET_ARCH_HAS_SETUP_FRAME 259c93ae13SMarkus Armbruster #endif /* I386_TARGET_SIGNAL_H */ 26