xref: /openbmc/linux/arch/arm/include/asm/xen/hypervisor.h (revision 12eb4683)
1 #ifndef _ASM_ARM_XEN_HYPERVISOR_H
2 #define _ASM_ARM_XEN_HYPERVISOR_H
3 
4 extern struct shared_info *HYPERVISOR_shared_info;
5 extern struct start_info *xen_start_info;
6 
7 /* Lazy mode for batching updates / context switch */
8 enum paravirt_lazy_mode {
9 	PARAVIRT_LAZY_NONE,
10 	PARAVIRT_LAZY_MMU,
11 	PARAVIRT_LAZY_CPU,
12 };
13 
14 static inline enum paravirt_lazy_mode paravirt_get_lazy_mode(void)
15 {
16 	return PARAVIRT_LAZY_NONE;
17 }
18 
19 extern struct dma_map_ops *xen_dma_ops;
20 
21 #endif /* _ASM_ARM_XEN_HYPERVISOR_H */
22