blob: 157f46fe374f5cb1fc54d0ea3ca75958440e995e [file] [log] [blame]
David Howells54579822012-10-09 09:47:43 +01001#ifndef _UAPI__SPARC_SIGINFO_H
2#define _UAPI__SPARC_SIGINFO_H
3
4#if defined(__sparc__) && defined(__arch64__)
5
6#define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int))
7#define __ARCH_SI_BAND_T int
8
9#endif /* defined(__sparc__) && defined(__arch64__) */
10
11
12#define __ARCH_SI_TRAPNO
13
14#include <asm-generic/siginfo.h>
15
16
17#define SI_NOINFO 32767 /* no information in siginfo_t */
18
19/*
Eric W. Biedermancc9f72e2017-07-16 20:04:58 -050020 * SIGFPE si_codes
21 */
22#ifdef __KERNEL__
Eric W. Biedermancc731522017-07-16 22:36:59 -050023#define FPE_FIXME 0 /* Broken dup of SI_USER */
Eric W. Biedermancc9f72e2017-07-16 20:04:58 -050024#endif /* __KERNEL__ */
25
26/*
David Howells54579822012-10-09 09:47:43 +010027 * SIGEMT si_codes
28 */
Eric W. Biedermancc731522017-07-16 22:36:59 -050029#define EMT_TAGOVF 1 /* tag overflow */
David Howells54579822012-10-09 09:47:43 +010030#define NSIGEMT 1
31
32#endif /* _UAPI__SPARC_SIGINFO_H */