mirror of https://gitee.com/openkylin/linux.git
22 lines
488 B
C
22 lines
488 B
C
#ifndef _ASM_ARM_XEN_HYPERVISOR_H
|
|
#define _ASM_ARM_XEN_HYPERVISOR_H
|
|
|
|
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;
|
|
}
|
|
|
|
extern struct dma_map_ops *xen_dma_ops;
|
|
|
|
#endif /* _ASM_ARM_XEN_HYPERVISOR_H */
|