cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

kdebug.h (487B)


      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 */