1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
3 * Copyright 2004-2008 Analog Devices Inc.
5 * Licensed under the GPL-2 or later.
8 #ifndef _UAPI_BFIN_SIGINFO_H
9 #define _UAPI_BFIN_SIGINFO_H
11 #include <linux/types.h>
12 #include <asm-generic/siginfo.h>
14 #define UID16_SIGINFO_COMPAT_NEEDED
16 #define si_uid16 _sifields._kill._uid
18 #define ILL_ILLPARAOP 2 /* illegal opcode combine ********** */
19 #define ILL_ILLEXCPT 4 /* unrecoverable exception ********** */
20 #define ILL_CPLB_VI 9 /* D/I CPLB protect violation ******** */
21 #define ILL_CPLB_MISS 10 /* D/I CPLB miss ******** */
22 #define ILL_CPLB_MULHIT 11 /* D/I CPLB multiple hit ******** */
29 #define BUS_OPFETCH 4 /* error from instruction fetch ******** */
36 #define TRAP_STEP 1 /* single-step breakpoint************* */
37 #define TRAP_TRACEFLOW 2 /* trace buffer overflow ************* */
38 #define TRAP_WATCHPT 3 /* watchpoint match ************* */
39 #define TRAP_ILLTRAP 4 /* illegal trap ************* */
46 #define SEGV_STACKFLOW 3 /* stack overflow */
50 #endif /* _UAPI_BFIN_SIGINFO_H */