2012-09-14 13:53:39 +00:00
|
|
|
#ifndef _ASM_ARM_XEN_HYPERVISOR_H
|
|
|
|
#define _ASM_ARM_XEN_HYPERVISOR_H
|
|
|
|
|
2015-05-06 14:13:31 +00:00
|
|
|
#include <linux/init.h>
|
|
|
|
|
2012-09-14 13:53:39 +00:00
|
|
|
extern struct shared_info *HYPERVISOR_shared_info;
|
|
|
|
extern struct start_info *xen_start_info;
|
|
|
|
|
|
|
|
/* Lazy mode for batching updates / context switch */
|
|
|
|
enum paravirt_lazy_mode {
|
|
|
|
PARAVIRT_LAZY_NONE,
|
|
|
|
PARAVIRT_LAZY_MMU,
|
|
|
|
PARAVIRT_LAZY_CPU,
|
|
|
|
};
|
|
|
|
|
|
|
|
static inline enum paravirt_lazy_mode paravirt_get_lazy_mode(void)
|
|
|
|
{
|
|
|
|
return PARAVIRT_LAZY_NONE;
|
|
|
|
}
|
|
|
|
|
2013-10-10 13:40:44 +00:00
|
|
|
extern struct dma_map_ops *xen_dma_ops;
|
|
|
|
|
2015-05-06 14:13:31 +00:00
|
|
|
#ifdef CONFIG_XEN
|
|
|
|
void __init xen_early_init(void);
|
|
|
|
#else
|
|
|
|
static inline void xen_early_init(void) { return; }
|
|
|
|
#endif
|
|
|
|
|
2012-09-14 13:53:39 +00:00
|
|
|
#endif /* _ASM_ARM_XEN_HYPERVISOR_H */
|