1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 /* 3 * Based on <asm-i386/siginfo.h>. 4 * 5 * Modified 1998-2002 6 * David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co 7 */ 8 #ifndef _UAPI_ASM_IA64_SIGINFO_H 9 #define _UAPI_ASM_IA64_SIGINFO_H 10 11 12 #define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int)) 13 14 #include <asm-generic/siginfo.h> 15 16 #define si_imm _sifields._sigfault._imm /* as per UNIX SysV ABI spec */ 17 #define si_flags _sifields._sigfault._flags 18 /* 19 * si_isr is valid for SIGILL, SIGFPE, SIGSEGV, SIGBUS, and SIGTRAP provided that 20 * si_code is non-zero and __ISR_VALID is set in si_flags. 21 */ 22 #define si_isr _sifields._sigfault._isr 23 24 /* 25 * Flag values for si_flags: 26 */ 27 #define __ISR_VALID_BIT 0 28 #define __ISR_VALID (1 << __ISR_VALID_BIT) 29 30 /* 31 * SIGFPE si_codes 32 */ 33 #ifdef __KERNEL__ 34 #define FPE_FIXME 0 /* Broken dup of SI_USER */ 35 #endif /* __KERNEL__ */ 36 37 #endif /* _UAPI_ASM_IA64_SIGINFO_H */ 38