Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
at be2d3ecedd9911fbfd7e55cc9ceac5f8b79ae4cf 23 lines 487 B view raw
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _LINUX_KDEBUG_H 3#define _LINUX_KDEBUG_H 4 5#include <asm/kdebug.h> 6 7struct notifier_block; 8 9struct die_args { 10 struct pt_regs *regs; 11 const char *str; 12 long err; 13 int trapnr; 14 int signr; 15}; 16 17int register_die_notifier(struct notifier_block *nb); 18int unregister_die_notifier(struct notifier_block *nb); 19 20int notify_die(enum die_val val, const char *str, 21 struct pt_regs *regs, long err, int trap, int sig); 22 23#endif /* _LINUX_KDEBUG_H */