blob: f905b773235a2f977db3383559629d4fbd3e4fda [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef _SPARC64_KDEBUG_H
2#define _SPARC64_KDEBUG_H
3
Linus Torvalds1da177e2005-04-16 15:20:36 -07004struct pt_regs;
5
Linus Torvalds1da177e2005-04-16 15:20:36 -07006extern void 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_DIE,
14 DIE_TRAP,
15 DIE_TRAP_TL1,
Linus Torvalds1da177e2005-04-16 15:20:36 -070016 DIE_CALL,
Linus Torvalds1da177e2005-04-16 15:20:36 -070017};
18
Linus Torvalds1da177e2005-04-16 15:20:36 -070019#endif