kdebug.h 448 B

1234567891011121314151617181920212223
  1. #ifndef _LINUX_KDEBUG_H
  2. #define _LINUX_KDEBUG_H
  3. #include <asm/kdebug.h>
  4. struct notifier_block;
  5. struct die_args {
  6. struct pt_regs *regs;
  7. const char *str;
  8. long err;
  9. int trapnr;
  10. int signr;
  11. };
  12. int register_die_notifier(struct notifier_block *nb);
  13. int unregister_die_notifier(struct notifier_block *nb);
  14. int notify_die(enum die_val val, const char *str,
  15. struct pt_regs *regs, long err, int trap, int sig);
  16. #endif /* _LINUX_KDEBUG_H */