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