PERFORCE change 132560 for review

Kip Macy kmacy at FreeBSD.org
Fri Jan 4 23:49:08 PST 2008


http://perforce.freebsd.org/chv.cgi?CH=132560

Change 132560 by kmacy at pandemonium:kmacy:xen31 on 2008/01/05 07:48:51

	add convenience macro for checking for initial domain

Affected files ...

.. //depot/projects/xen31/sys/i386/include/xen/hypervisor.h#4 edit

Differences ...

==== //depot/projects/xen31/sys/i386/include/xen/hypervisor.h#4 (text+ko) ====

@@ -31,6 +31,12 @@
 #define MULTI_UVMDOMID_INDEX 4
 #endif
 
+#ifdef CONFIG_XEN_PRIVILEGED_GUEST
+#define is_initial_xendomain() (xen_start_info->flags & SIF_INITDOMAIN)
+#else
+#define is_initial_xendomain() 0
+#endif
+
 extern start_info_t *xen_start_info;
 
 extern uint64_t get_system_time(int ticks);


More information about the p4-projects mailing list