diff options
Diffstat (limited to 'ANDROID_3.4.5/include/xen/xen.h')
-rw-r--r-- | ANDROID_3.4.5/include/xen/xen.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/ANDROID_3.4.5/include/xen/xen.h b/ANDROID_3.4.5/include/xen/xen.h deleted file mode 100644 index a1640241..00000000 --- a/ANDROID_3.4.5/include/xen/xen.h +++ /dev/null @@ -1,32 +0,0 @@ -#ifndef _XEN_XEN_H -#define _XEN_XEN_H - -enum xen_domain_type { - XEN_NATIVE, /* running on bare hardware */ - XEN_PV_DOMAIN, /* running in a PV domain */ - XEN_HVM_DOMAIN, /* running in a Xen hvm domain */ -}; - -#ifdef CONFIG_XEN -extern enum xen_domain_type xen_domain_type; -#else -#define xen_domain_type XEN_NATIVE -#endif - -#define xen_domain() (xen_domain_type != XEN_NATIVE) -#define xen_pv_domain() (xen_domain() && \ - xen_domain_type == XEN_PV_DOMAIN) -#define xen_hvm_domain() (xen_domain() && \ - xen_domain_type == XEN_HVM_DOMAIN) - -#ifdef CONFIG_XEN_DOM0 -#include <xen/interface/xen.h> -#include <asm/xen/hypervisor.h> - -#define xen_initial_domain() (xen_pv_domain() && \ - xen_start_info->flags & SIF_INITDOMAIN) -#else /* !CONFIG_XEN_DOM0 */ -#define xen_initial_domain() (0) -#endif /* CONFIG_XEN_DOM0 */ - -#endif /* _XEN_XEN_H */ |