1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 /* 2 /* 3 * Copyright (C) 2020-2022 Loongson Technology !! 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. 4 */ 9 */ 5 #ifndef __UAPI_ASM_BREAK_H 10 #ifndef __UAPI_ASM_BREAK_H 6 #define __UAPI_ASM_BREAK_H 11 #define __UAPI_ASM_BREAK_H 7 12 8 #define BRK_DEFAULT 0 /* Use !! 13 /* 9 #define BRK_BUG 1 /* Use !! 14 * The following break codes are or were in use for specific purposes in 10 #define BRK_KDB 2 /* Use !! 15 * other MIPS operating systems. Linux/MIPS doesn't use all of them. The 11 #define BRK_MATHEMU 3 /* Use !! 16 * unused ones are here as placeholders; we might encounter them in 12 #define BRK_USERBP 4 /* Use !! 17 * non-Linux/MIPS object files or make use of them in the future. 13 #define BRK_SSTEPBP 5 /* Use !! 18 */ 14 #define BRK_OVERFLOW 6 /* Ove !! 19 #define BRK_USERBP 0 /* User bp (used by debuggers) */ 15 #define BRK_DIVZERO 7 /* Div !! 20 #define BRK_SSTEPBP 5 /* User bp (used by debuggers) */ 16 #define BRK_RANGE 8 /* Ran !! 21 #define BRK_OVERFLOW 6 /* Overflow check */ 17 #define BRK_MULOVFL 9 /* Mul !! 22 #define BRK_DIVZERO 7 /* Divide by zero check */ 18 #define BRK_KPROBE_BP 10 /* Kpr !! 23 #define BRK_RANGE 8 /* Range error check */ 19 #define BRK_KPROBE_SSTEPBP 11 /* Kpr !! 24 #define BRK_BUG 12 /* Used by BUG() */ 20 #define BRK_UPROBE_BP 12 /* See !! 25 #define BRK_UPROBE 13 /* See <asm/uprobes.h> */ 21 #define BRK_UPROBE_XOLBP 13 /* See !! 26 #define BRK_UPROBE_XOL 14 /* See <asm/uprobes.h> */ >> 27 #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 */ 22 31 23 #endif /* __UAPI_ASM_BREAK_H */ 32 #endif /* __UAPI_ASM_BREAK_H */ 24 33
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.