Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _SPARC64_KDEBUG_H |
| 2 | #define _SPARC64_KDEBUG_H |
| 3 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | struct pt_regs; |
| 5 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 16 | DIE_CALL, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | }; |
| 18 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | #endif |