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, 17 DIE_NMI, 18 DIE_NMIWATCHDOG, 19 }; 20 21 #endif 22