Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
24 lines
918 B
C
24 lines
918 B
C
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
|
/*
|
|
* Copyright (C) 2020-2022 Loongson Technology Corporation Limited
|
|
*/
|
|
#ifndef __UAPI_ASM_BREAK_H
|
|
#define __UAPI_ASM_BREAK_H
|
|
|
|
#define BRK_DEFAULT 0 /* Used as default */
|
|
#define BRK_BUG 1 /* Used by BUG() */
|
|
#define BRK_KDB 2 /* Used in KDB_ENTER() */
|
|
#define BRK_MATHEMU 3 /* Used by FPU emulator */
|
|
#define BRK_USERBP 4 /* User bp (used by debuggers) */
|
|
#define BRK_SSTEPBP 5 /* User bp (used by debuggers) */
|
|
#define BRK_OVERFLOW 6 /* Overflow check */
|
|
#define BRK_DIVZERO 7 /* Divide by zero check */
|
|
#define BRK_RANGE 8 /* Range error check */
|
|
#define BRK_MULOVFL 9 /* Multiply overflow */
|
|
#define BRK_KPROBE_BP 10 /* Kprobe break */
|
|
#define BRK_KPROBE_SSTEPBP 11 /* Kprobe single step break */
|
|
#define BRK_UPROBE_BP 12 /* See <asm/uprobes.h> */
|
|
#define BRK_UPROBE_XOLBP 13 /* See <asm/uprobes.h> */
|
|
|
|
#endif /* __UAPI_ASM_BREAK_H */
|