Loading...
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _SPARC64_KDEBUG_H
3#define _SPARC64_KDEBUG_H
4
5struct pt_regs;
6
7void bad_trap(struct pt_regs *, long);
8
9/* Grossly misnamed. */
10enum die_val {
11 DIE_OOPS = 1,
12 DIE_DEBUG, /* ta 0x70 */
13 DIE_DEBUG_2, /* ta 0x71 */
14 DIE_BPT, /* ta 0x73 */
15 DIE_SSTEP, /* ta 0x74 */
16 DIE_DIE,
17 DIE_TRAP,
18 DIE_TRAP_TL1,
19 DIE_CALL,
20 DIE_NMI,
21 DIE_NMIWATCHDOG,
22};
23
24#endif
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _SPARC64_KDEBUG_H
3#define _SPARC64_KDEBUG_H
4
5struct pt_regs;
6
7void bad_trap(struct pt_regs *, long);
8
9/* Grossly misnamed. */
10enum die_val {
11 DIE_OOPS = 1,
12 DIE_DEBUG, /* ta 0x70 */
13 DIE_DEBUG_2, /* ta 0x71 */
14 DIE_BPT, /* ta 0x73 */
15 DIE_SSTEP, /* ta 0x74 */
16 DIE_DIE,
17 DIE_TRAP,
18 DIE_TRAP_TL1,
19 DIE_CALL,
20 DIE_NMI,
21 DIE_NMIWATCHDOG,
22};
23
24#endif