]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blame - arch/mips/include/uapi/asm/break.h
MIPS: Set trap_no field in thread_struct on exception.
[mirror_ubuntu-focal-kernel.git] / arch / mips / include / uapi / asm / break.h
CommitLineData
1da177e4
LT
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 */
612663a9
DD
9#ifndef __UAPI_ASM_BREAK_H
10#define __UAPI_ASM_BREAK_H
1da177e4
LT
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) */
1da177e4
LT
19#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 */
8e8dc335 23#define BRK_BUG 12 /* Used by BUG() */
ba3049ed 24#define BRK_MEMU 514 /* Used by FPU emulator */
c1bf207d
DD
25#define BRK_KPROBE_BP 515 /* Kprobe break */
26#define BRK_KPROBE_SSTEPBP 516 /* Kprobe single step software implementation */
1da177e4
LT
27#define BRK_MULOVF 1023 /* Multiply overflow */
28
612663a9 29#endif /* __UAPI_ASM_BREAK_H */