kdebug_32.h 556 B

123456789101112131415161718192021222324252627282930313233
  1. #ifndef _I386_KDEBUG_H
  2. #define _I386_KDEBUG_H 1
  3. /*
  4. * Aug-05 2004 Ported by Prasanna S Panchamukhi <prasanna@in.ibm.com>
  5. * from x86_64 architecture.
  6. */
  7. #include <linux/notifier.h>
  8. struct pt_regs;
  9. extern int register_page_fault_notifier(struct notifier_block *);
  10. extern int unregister_page_fault_notifier(struct notifier_block *);
  11. /* Grossly misnamed. */
  12. enum die_val {
  13. DIE_OOPS = 1,
  14. DIE_INT3,
  15. DIE_DEBUG,
  16. DIE_PANIC,
  17. DIE_NMI,
  18. DIE_DIE,
  19. DIE_NMIWATCHDOG,
  20. DIE_KERNELDEBUG,
  21. DIE_TRAP,
  22. DIE_GPF,
  23. DIE_CALL,
  24. DIE_NMI_IPI,
  25. DIE_PAGE_FAULT,
  26. };
  27. #endif