1 #ifndef _ASM_X86_MSHYPER_H
2 #define _ASM_X86_MSHYPER_H
4 #include <linux/types.h>
5 #include <linux/interrupt.h>
6 #include <asm/hyperv.h>
8 struct ms_hyperv_info
{
14 extern struct ms_hyperv_info ms_hyperv
;
17 * Declare the MSR used to setup pages used to communicate with the hypervisor.
19 union hv_x64_msr_hypercall_contents
{
24 u64 guest_physical_address
:52;
28 void hyperv_callback_vector(void);
30 #define trace_hyperv_callback_vector hyperv_callback_vector
32 void hyperv_vector_handler(struct pt_regs
*regs
);
33 void hv_setup_vmbus_irq(void (*handler
)(void));
34 void hv_remove_vmbus_irq(void);
36 void hv_setup_kexec_handler(void (*handler
)(void));
37 void hv_remove_kexec_handler(void);
38 void hv_setup_crash_handler(void (*handler
)(struct pt_regs
*regs
));
39 void hv_remove_crash_handler(void);