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) 1995, 2003 by Ralf Baechle 88c2ecf20Sopenharmony_ci * Copyright (C) 1999 Silicon Graphics, Inc. 98c2ecf20Sopenharmony_ci */ 108c2ecf20Sopenharmony_ci#ifndef __UAPI_ASM_BREAK_H 118c2ecf20Sopenharmony_ci#define __UAPI_ASM_BREAK_H 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ci/* 148c2ecf20Sopenharmony_ci * The following break codes are or were in use for specific purposes in 158c2ecf20Sopenharmony_ci * other MIPS operating systems. Linux/MIPS doesn't use all of them. The 168c2ecf20Sopenharmony_ci * unused ones are here as placeholders; we might encounter them in 178c2ecf20Sopenharmony_ci * non-Linux/MIPS object files or make use of them in the future. 188c2ecf20Sopenharmony_ci */ 198c2ecf20Sopenharmony_ci#define BRK_USERBP 0 /* User bp (used by debuggers) */ 208c2ecf20Sopenharmony_ci#define BRK_SSTEPBP 5 /* User bp (used by debuggers) */ 218c2ecf20Sopenharmony_ci#define BRK_OVERFLOW 6 /* Overflow check */ 228c2ecf20Sopenharmony_ci#define BRK_DIVZERO 7 /* Divide by zero check */ 238c2ecf20Sopenharmony_ci#define BRK_RANGE 8 /* Range error check */ 248c2ecf20Sopenharmony_ci#define BRK_BUG 12 /* Used by BUG() */ 258c2ecf20Sopenharmony_ci#define BRK_UPROBE 13 /* See <asm/uprobes.h> */ 268c2ecf20Sopenharmony_ci#define BRK_UPROBE_XOL 14 /* See <asm/uprobes.h> */ 278c2ecf20Sopenharmony_ci#define BRK_MEMU 514 /* Used by FPU emulator */ 288c2ecf20Sopenharmony_ci#define BRK_KPROBE_BP 515 /* Kprobe break */ 298c2ecf20Sopenharmony_ci#define BRK_KPROBE_SSTEPBP 516 /* Kprobe single step software implementation */ 308c2ecf20Sopenharmony_ci#define BRK_MULOVF 1023 /* Multiply overflow */ 318c2ecf20Sopenharmony_ci 328c2ecf20Sopenharmony_ci#endif /* __UAPI_ASM_BREAK_H */ 33