Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
0002 /*
0003  * This file is subject to the terms and conditions of the GNU General Public
0004  * License.  See the file "COPYING" in the main directory of this archive
0005  * for more details.
0006  *
0007  * Copyright (C) 1995, 2003 by Ralf Baechle
0008  * Copyright (C) 1999 Silicon Graphics, Inc.
0009  */
0010 #ifndef __UAPI_ASM_BREAK_H
0011 #define __UAPI_ASM_BREAK_H
0012 
0013 /*
0014  * The following break codes are or were in use for specific purposes in
0015  * other MIPS operating systems.  Linux/MIPS doesn't use all of them.  The
0016  * unused ones are here as placeholders; we might encounter them in
0017  * non-Linux/MIPS object files or make use of them in the future.
0018  */
0019 #define BRK_USERBP  0   /* User bp (used by debuggers) */
0020 #define BRK_SSTEPBP 5   /* User bp (used by debuggers) */
0021 #define BRK_OVERFLOW    6   /* Overflow check */
0022 #define BRK_DIVZERO 7   /* Divide by zero check */
0023 #define BRK_RANGE   8   /* Range error check */
0024 #define BRK_BUG     12  /* Used by BUG() */
0025 #define BRK_UPROBE  13  /* See <asm/uprobes.h> */
0026 #define BRK_UPROBE_XOL  14  /* See <asm/uprobes.h> */
0027 #define BRK_MEMU    514 /* Used by FPU emulator */
0028 #define BRK_KPROBE_BP   515 /* Kprobe break */
0029 #define BRK_KPROBE_SSTEPBP 516  /* Kprobe single step software implementation */
0030 #define BRK_MULOVF  1023    /* Multiply overflow */
0031 
0032 #endif /* __UAPI_ASM_BREAK_H */