blob: 002c39ea20c3e26baf1d1f25d0985ea925841670 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
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 */
David Daney612663a2013-02-08 16:36:51 +00009#ifndef __UAPI_ASM_BREAK_H
10#define __UAPI_ASM_BREAK_H
Linus Torvalds1da177e2005-04-16 15:20:36 -070011
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) */
Linus Torvalds1da177e2005-04-16 15:20:36 -070019#define BRK_SSTEPBP 5 /* User bp (used by debuggers) */
20#define BRK_OVERFLOW 6 /* Overflow check */
21#define BRK_DIVZERO 7 /* Divide by zero check */
22#define BRK_RANGE 8 /* Range error check */
Steven J. Hill8e8dc332013-01-24 16:26:35 +000023#define BRK_BUG 12 /* Used by BUG() */
Ralf Baechleba3049e2008-10-28 17:38:42 +000024#define BRK_MEMU 514 /* Used by FPU emulator */
David Daneyc1bf2072010-08-03 11:22:20 -070025#define BRK_KPROBE_BP 515 /* Kprobe break */
26#define BRK_KPROBE_SSTEPBP 516 /* Kprobe single step software implementation */
Linus Torvalds1da177e2005-04-16 15:20:36 -070027#define BRK_MULOVF 1023 /* Multiply overflow */
28
David Daney612663a2013-02-08 16:36:51 +000029#endif /* __UAPI_ASM_BREAK_H */