| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* | 
 | 2 |  * This file is subject to the terms and conditions of the GNU General Public | 
 | 3 |  * License.  See the file "COPYING" in the main directory of this archive | 
 | 4 |  * for more details. | 
 | 5 |  * | 
 | 6 |  * Copyright (C) 1995, 2003 by Ralf Baechle | 
 | 7 |  * Copyright (C) 1999 Silicon Graphics, Inc. | 
 | 8 |  */ | 
 | 9 | #ifndef __ASM_BREAK_H | 
 | 10 | #define __ASM_BREAK_H | 
 | 11 |  | 
 | 12 | /* | 
 | 13 |  * The following break codes are or were in use for specific purposes in | 
 | 14 |  * other MIPS operating systems.  Linux/MIPS doesn't use all of them.  The | 
 | 15 |  * unused ones are here as placeholders; we might encounter them in | 
 | 16 |  * non-Linux/MIPS object files or make use of them in the future. | 
 | 17 |  */ | 
 | 18 | #define BRK_USERBP	0	/* User bp (used by debuggers) */ | 
 | 19 | #define BRK_KERNELBP	1	/* Break in the kernel */ | 
 | 20 | #define BRK_ABORT	2	/* Sometimes used by abort(3) to SIGIOT */ | 
 | 21 | #define BRK_BD_TAKEN	3	/* For bd slot emulation - not implemented */ | 
 | 22 | #define BRK_BD_NOTTAKEN	4	/* For bd slot emulation - not implemented */ | 
 | 23 | #define BRK_SSTEPBP	5	/* User bp (used by debuggers) */ | 
 | 24 | #define BRK_OVERFLOW	6	/* Overflow check */ | 
 | 25 | #define BRK_DIVZERO	7	/* Divide by zero check */ | 
 | 26 | #define BRK_RANGE	8	/* Range error check */ | 
 | 27 | #define BRK_STACKOVERFLOW 9	/* For Ada stackchecking */ | 
 | 28 | #define BRK_NORLD	10	/* No rld found - not used by Linux/MIPS */ | 
 | 29 | #define _BRK_THREADBP	11	/* For threads, user bp (used by debuggers) */ | 
 | 30 | #define BRK_BUG		512	/* Used by BUG() */ | 
 | 31 | #define BRK_MULOVF	1023	/* Multiply overflow */ | 
 | 32 |  | 
 | 33 | #endif /* __ASM_BREAK_H */ |