mshyperv.h 531 字节
Newer Older
1 2
#ifndef _ASM_X86_MSHYPER_H
#define _ASM_X86_MSHYPER_H
3

4
#include <linux/types.h>
5
#include <linux/interrupt.h>
6 7 8 9 10 11 12 13
#include <asm/hyperv.h>

struct ms_hyperv_info {
	u32 features;
	u32 hints;
};

extern struct ms_hyperv_info ms_hyperv;
14

15
void hyperv_callback_vector(void);
16 17 18
#ifdef CONFIG_TRACING
#define trace_hyperv_callback_vector hyperv_callback_vector
#endif
19
void hyperv_vector_handler(struct pt_regs *regs);
20 21
int hv_setup_vmbus_irq(int irq, irq_handler_t handler, void *dev_id);
void hv_remove_vmbus_irq(int irq, void *dev_id);
22

23
#endif