| #define _X86_64_KDEBUG_H 1 |
| #include <linux/notifier.h> |
| extern int register_die_notifier(struct notifier_block *); |
| extern int unregister_die_notifier(struct notifier_block *); |
| extern int register_page_fault_notifier(struct notifier_block *); |
| extern int unregister_page_fault_notifier(struct notifier_block *); |
| extern struct atomic_notifier_head die_chain; |
| static inline int notify_die(enum die_val val, const char *str, |
| struct pt_regs *regs, long err, int trap, int sig) |
| return atomic_notifier_call_chain(&die_chain, val, &args); |
| extern void printk_address(unsigned long address); |
| extern void die(const char *,struct pt_regs *,long); |
| extern void __die(const char *,struct pt_regs *,long); |
| extern void show_registers(struct pt_regs *regs); |
| extern void dump_pagetable(unsigned long); |
| extern unsigned long oops_begin(void); |
| extern void oops_end(unsigned long); |