]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blame - arch/blackfin/include/uapi/asm/siginfo.h
Merge remote-tracking branches 'asoc/topic/ac97', 'asoc/topic/ac97-mfd', 'asoc/topic...
[mirror_ubuntu-focal-kernel.git] / arch / blackfin / include / uapi / asm / siginfo.h
CommitLineData
e2be04c7 1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
96f1050d
RG
2/*
3 * Copyright 2004-2008 Analog Devices Inc.
4 *
5 * Licensed under the GPL-2 or later.
6 */
7
13376509
CG
8#ifndef _UAPI_BFIN_SIGINFO_H
9#define _UAPI_BFIN_SIGINFO_H
1394f032
BW
10
11#include <linux/types.h>
12#include <asm-generic/siginfo.h>
13
14#define UID16_SIGINFO_COMPAT_NEEDED
15
16#define si_uid16 _sifields._kill._uid
17
cc731525
EB
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 ******** */
23#undef NSIGILL
24#define NSIGILL 11
1394f032
BW
25
26/*
27 * SIGBUS si_codes
28 */
cc731525
EB
29#define BUS_OPFETCH 4 /* error from instruction fetch ******** */
30#undef NSIGBUS
31#define NSIGBUS 4
1394f032
BW
32
33/*
34 * SIGTRAP si_codes
35 */
cc731525
EB
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 ************* */
40#undef NSIGTRAP
41#define NSIGTRAP 4
1394f032
BW
42
43/*
44 * SIGSEGV si_codes
45 */
cc731525
EB
46#define SEGV_STACKFLOW 3 /* stack overflow */
47#undef NSIGSEGV
48#define NSIGSEGV 3
1394f032 49
13376509 50#endif /* _UAPI_BFIN_SIGINFO_H */