Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1#ifndef _ASM_X86_MSHYPER_H
2#define _ASM_X86_MSHYPER_H
3
4#include <linux/types.h>
5#include <linux/interrupt.h>
6#include <asm/hyperv.h>
7
8struct ms_hyperv_info {
9 u32 features;
10 u32 misc_features;
11 u32 hints;
12};
13
14extern struct ms_hyperv_info ms_hyperv;
15
16void hyperv_callback_vector(void);
17#ifdef CONFIG_TRACING
18#define trace_hyperv_callback_vector hyperv_callback_vector
19#endif
20void hyperv_vector_handler(struct pt_regs *regs);
21void hv_setup_vmbus_irq(void (*handler)(void));
22void hv_remove_vmbus_irq(void);
23
24void hv_setup_kexec_handler(void (*handler)(void));
25void hv_remove_kexec_handler(void);
26void hv_setup_crash_handler(void (*handler)(struct pt_regs *regs));
27void hv_remove_crash_handler(void);
28#endif