]>
Commit | Line | Data |
---|---|---|
e08cae41 PA |
1 | #ifndef _ASM_X86_MSHYPER_H |
2 | #define _ASM_X86_MSHYPER_H | |
a2a47c6c | 3 | |
e08cae41 | 4 | #include <linux/types.h> |
1aec1696 | 5 | #include <linux/interrupt.h> |
e08cae41 PA |
6 | #include <asm/hyperv.h> |
7 | ||
8 | struct ms_hyperv_info { | |
9 | u32 features; | |
cc2dd402 | 10 | u32 misc_features; |
e08cae41 PA |
11 | u32 hints; |
12 | }; | |
13 | ||
14 | extern struct ms_hyperv_info ms_hyperv; | |
a2a47c6c | 15 | |
bc2b0331 | 16 | void hyperv_callback_vector(void); |
cf910e83 SA |
17 | #ifdef CONFIG_TRACING |
18 | #define trace_hyperv_callback_vector hyperv_callback_vector | |
19 | #endif | |
bc2b0331 | 20 | void hyperv_vector_handler(struct pt_regs *regs); |
76d388cd TG |
21 | void hv_setup_vmbus_irq(void (*handler)(void)); |
22 | void hv_remove_vmbus_irq(void); | |
bc2b0331 | 23 | |
2517281d VK |
24 | void hv_setup_kexec_handler(void (*handler)(void)); |
25 | void hv_remove_kexec_handler(void); | |
b4370df2 VK |
26 | void hv_setup_crash_handler(void (*handler)(struct pt_regs *regs)); |
27 | void hv_remove_crash_handler(void); | |
a2a47c6c | 28 | #endif |