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