PERFORCE change 131128 for review

Kip Macy kmacy at FreeBSD.org
Mon Dec 17 14:47:17 PST 2007


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

Change 131128 by kmacy at entropy_kmacy_xen31 on 2007/12/17 22:47:10

	disable KERNLOAD offsets for domUs 

Affected files ...

.. //depot/projects/xen31/sys/i386/include/vmparam.h#2 edit

Differences ...

==== //depot/projects/xen31/sys/i386/include/vmparam.h#2 (text+ko) ====

@@ -125,9 +125,14 @@
 /*
  * Kernel physical load address.
  */
+
+#if !defined(XEN) || defined(XEN_PRIVILEGED_GUEST)
 #ifndef KERNLOAD
 #define	KERNLOAD		(1 << PDRSHIFT)
 #endif
+#else
+#define	KERNLOAD		0
+#endif
 
 /*
  * Virtual addresses of things.  Derived from the page directory and


More information about the p4-projects mailing list