Sam Ravnborg | f5e706a | 2008-07-17 21:55:51 -0700 | [diff] [blame] | 1 | #ifndef _SPARC64_KDEBUG_H |
2 | #define _SPARC64_KDEBUG_H | ||||
3 | |||||
4 | struct pt_regs; | ||||
5 | |||||
6 | extern void bad_trap(struct pt_regs *, long); | ||||
7 | |||||
8 | /* Grossly misnamed. */ | ||||
9 | enum die_val { | ||||
10 | DIE_OOPS = 1, | ||||
11 | DIE_DEBUG, /* ta 0x70 */ | ||||
12 | DIE_DEBUG_2, /* ta 0x71 */ | ||||
13 | DIE_DIE, | ||||
14 | DIE_TRAP, | ||||
15 | DIE_TRAP_TL1, | ||||
16 | DIE_CALL, | ||||
David S. Miller | e5553a6 | 2009-01-29 21:22:47 -0800 | [diff] [blame] | 17 | DIE_NMI, |
18 | DIE_NMIWATCHDOG, | ||||
Sam Ravnborg | f5e706a | 2008-07-17 21:55:51 -0700 | [diff] [blame] | 19 | }; |
20 | |||||
21 | #endif |