2017-11-01 17:09:13 +03:00
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2005-04-17 02:20:36 +04:00
/*
* This file is subject to the terms and conditions of the GNU General Public
* License . See the file " COPYING " in the main directory of this archive
* for more details .
*
* Copyright ( C ) 1995 , 2003 by Ralf Baechle
* Copyright ( C ) 1999 Silicon Graphics , Inc .
*/
2013-02-08 20:36:51 +04:00
# ifndef __UAPI_ASM_BREAK_H
# define __UAPI_ASM_BREAK_H
2005-04-17 02:20:36 +04:00
/*
* The following break codes are or were in use for specific purposes in
* other MIPS operating systems . Linux / MIPS doesn ' t use all of them . The
* unused ones are here as placeholders ; we might encounter them in
* non - Linux / MIPS object files or make use of them in the future .
*/
# define BRK_USERBP 0 /* User bp (used by debuggers) */
# define BRK_SSTEPBP 5 /* User bp (used by debuggers) */
# define BRK_OVERFLOW 6 /* Overflow check */
# define BRK_DIVZERO 7 /* Divide by zero check */
# define BRK_RANGE 8 /* Range error check */
2013-01-24 20:26:35 +04:00
# define BRK_BUG 12 /* Used by BUG() */
2015-07-29 23:44:53 +03:00
# define BRK_UPROBE 13 /* See <asm/uprobes.h> */
# define BRK_UPROBE_XOL 14 /* See <asm/uprobes.h> */
2008-10-28 20:38:42 +03:00
# define BRK_MEMU 514 /* Used by FPU emulator */
2010-08-03 22:22:20 +04:00
# define BRK_KPROBE_BP 515 /* Kprobe break */
# define BRK_KPROBE_SSTEPBP 516 /* Kprobe single step software implementation */
2005-04-17 02:20:36 +04:00
# define BRK_MULOVF 1023 /* Multiply overflow */
2013-02-08 20:36:51 +04:00
# endif /* __UAPI_ASM_BREAK_H */