18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * This file is subject to the terms and conditions of the GNU General Public
48c2ecf20Sopenharmony_ci * License.  See the file "COPYING" in the main directory of this archive
58c2ecf20Sopenharmony_ci * for more details.
68c2ecf20Sopenharmony_ci *
78c2ecf20Sopenharmony_ci * Copyright (C) 1999 Silicon Graphics, Inc.
88c2ecf20Sopenharmony_ci */
98c2ecf20Sopenharmony_ci#ifndef __UAPI_ASM_BREAK_H
108c2ecf20Sopenharmony_ci#define __UAPI_ASM_BREAK_H
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci#define BRK_DEFAULT		0	/* Used as default */
138c2ecf20Sopenharmony_ci#define BRK_BUG			1	/* Used by BUG() */
148c2ecf20Sopenharmony_ci#define BRK_KDB			2	/* Used in KDB_ENTER() */
158c2ecf20Sopenharmony_ci#define BRK_MATHEMU		3	/* Used by FPU emulator */
168c2ecf20Sopenharmony_ci#define BRK_USERBP		4	/* User bp (used by debuggers) */
178c2ecf20Sopenharmony_ci#define BRK_SSTEPBP		5	/* User bp (used by debuggers) */
188c2ecf20Sopenharmony_ci#define BRK_OVERFLOW		6	/* Overflow check */
198c2ecf20Sopenharmony_ci#define BRK_DIVZERO		7	/* Divide by zero check */
208c2ecf20Sopenharmony_ci#define BRK_RANGE		8	/* Range error check */
218c2ecf20Sopenharmony_ci#define BRK_MULOVFL		9	/* Multiply overflow */
228c2ecf20Sopenharmony_ci#define BRK_KPROBE_BP		10	/* Kprobe break */
238c2ecf20Sopenharmony_ci#define BRK_KPROBE_SSTEPBP	11	/* Kprobe single step break */
248c2ecf20Sopenharmony_ci#define BRK_UPROBE_BP		12	/* See <asm/uprobes.h> */
258c2ecf20Sopenharmony_ci#define BRK_UPROBE_XOLBP	13	/* See <asm/uprobes.h> */
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ci#endif /* __UAPI_ASM_BREAK_H */
28