blob: 10380b1bc601e883e9614d18cb15686b807ac91e [file] [log] [blame]
Christopher Ferris25981132017-11-14 16:53:49 -08001/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
Christopher Ferris19808422013-11-07 14:54:38 -08002/*
3 * This file is subject to the terms and conditions of the GNU General Public
4 * License. See the file "COPYING" in the main directory of this archive
5 * for more details.
6 *
7 * Copyright (C) 1995, 2003 by Ralf Baechle
8 * Copyright (C) 1999 Silicon Graphics, Inc.
9 */
10#ifndef __UAPI_ASM_BREAK_H
11#define __UAPI_ASM_BREAK_H
12
13/*
14 * The following break codes are or were in use for specific purposes in
15 * other MIPS operating systems. Linux/MIPS doesn't use all of them. The
16 * unused ones are here as placeholders; we might encounter them in
17 * non-Linux/MIPS object files or make use of them in the future.
18 */
19#define BRK_USERBP 0 /* User bp (used by debuggers) */
20#define BRK_SSTEPBP 5 /* User bp (used by debuggers) */
21#define BRK_OVERFLOW 6 /* Overflow check */
22#define BRK_DIVZERO 7 /* Divide by zero check */
23#define BRK_RANGE 8 /* Range error check */
24#define BRK_BUG 12 /* Used by BUG() */
Christopher Ferris12e1f282016-02-04 12:35:07 -080025#define BRK_UPROBE 13 /* See <asm/uprobes.h> */
26#define BRK_UPROBE_XOL 14 /* See <asm/uprobes.h> */
Christopher Ferris19808422013-11-07 14:54:38 -080027#define BRK_MEMU 514 /* Used by FPU emulator */
28#define BRK_KPROBE_BP 515 /* Kprobe break */
29#define BRK_KPROBE_SSTEPBP 516 /* Kprobe single step software implementation */
30#define BRK_MULOVF 1023 /* Multiply overflow */
31
32#endif /* __UAPI_ASM_BREAK_H */