| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _I386_KDEBUG_H | 
|  | 2 | #define _I386_KDEBUG_H 1 | 
|  | 3 |  | 
|  | 4 | /* | 
|  | 5 | * Aug-05 2004 Ported by Prasanna S Panchamukhi <prasanna@in.ibm.com> | 
|  | 6 | * from x86_64 architecture. | 
|  | 7 | */ | 
|  | 8 | #include <linux/notifier.h> | 
|  | 9 |  | 
|  | 10 | struct pt_regs; | 
|  | 11 |  | 
| Anil S Keshavamurthy | b71b5b6 | 2006-06-26 00:25:25 -0700 | [diff] [blame] | 12 | extern int register_page_fault_notifier(struct notifier_block *); | 
|  | 13 | extern int unregister_page_fault_notifier(struct notifier_block *); | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 14 |  | 
|  | 15 |  | 
|  | 16 | /* Grossly misnamed. */ | 
|  | 17 | enum die_val { | 
|  | 18 | DIE_OOPS = 1, | 
|  | 19 | DIE_INT3, | 
|  | 20 | DIE_DEBUG, | 
|  | 21 | DIE_PANIC, | 
|  | 22 | DIE_NMI, | 
|  | 23 | DIE_DIE, | 
|  | 24 | DIE_NMIWATCHDOG, | 
|  | 25 | DIE_KERNELDEBUG, | 
|  | 26 | DIE_TRAP, | 
|  | 27 | DIE_GPF, | 
|  | 28 | DIE_CALL, | 
|  | 29 | DIE_NMI_IPI, | 
|  | 30 | DIE_PAGE_FAULT, | 
|  | 31 | }; | 
|  | 32 |  | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 33 | #endif |