xref: /linux/arch/mips/include/uapi/asm/break.h (revision 612663a974065c3445e641d046769fe4c55a6438)
10bc1c157SRalf Baechle /*
20bc1c157SRalf Baechle  * This file is subject to the terms and conditions of the GNU General Public
30bc1c157SRalf Baechle  * License.  See the file "COPYING" in the main directory of this archive
40bc1c157SRalf Baechle  * for more details.
50bc1c157SRalf Baechle  *
60bc1c157SRalf Baechle  * Copyright (C) 1995, 2003 by Ralf Baechle
70bc1c157SRalf Baechle  * Copyright (C) 1999 Silicon Graphics, Inc.
80bc1c157SRalf Baechle  */
9*612663a9SDavid Daney #ifndef __UAPI_ASM_BREAK_H
10*612663a9SDavid Daney #define __UAPI_ASM_BREAK_H
110bc1c157SRalf Baechle 
120bc1c157SRalf Baechle /*
130bc1c157SRalf Baechle  * The following break codes are or were in use for specific purposes in
140bc1c157SRalf Baechle  * other MIPS operating systems.  Linux/MIPS doesn't use all of them.  The
150bc1c157SRalf Baechle  * unused ones are here as placeholders; we might encounter them in
160bc1c157SRalf Baechle  * non-Linux/MIPS object files or make use of them in the future.
170bc1c157SRalf Baechle  */
180bc1c157SRalf Baechle #define BRK_USERBP	0	/* User bp (used by debuggers) */
190bc1c157SRalf Baechle #define BRK_SSTEPBP	5	/* User bp (used by debuggers) */
200bc1c157SRalf Baechle #define BRK_OVERFLOW	6	/* Overflow check */
210bc1c157SRalf Baechle #define BRK_DIVZERO	7	/* Divide by zero check */
220bc1c157SRalf Baechle #define BRK_RANGE	8	/* Range error check */
238e8dc335SSteven J. Hill #define BRK_BUG		12	/* Used by BUG() */
240bc1c157SRalf Baechle #define BRK_MEMU	514	/* Used by FPU emulator */
250bc1c157SRalf Baechle #define BRK_KPROBE_BP	515	/* Kprobe break */
260bc1c157SRalf Baechle #define BRK_KPROBE_SSTEPBP 516	/* Kprobe single step software implementation */
270bc1c157SRalf Baechle #define BRK_MULOVF	1023	/* Multiply overflow */
280bc1c157SRalf Baechle 
29*612663a9SDavid Daney #endif /* __UAPI_ASM_BREAK_H */
30