PERFORCE change 131567 for review

Kip Macy kmacy at FreeBSD.org
Mon Dec 24 22:40:49 PST 2007


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

Change 131567 by kmacy at pandemonium:kmacy:xen31 on 2007/12/25 06:39:51

	ifdef out temporarily pte_hi setting
	map IdlePTD at the right place in PTD

Affected files ...

.. //depot/projects/xen31/sys/i386/include/xen/hypercall.h#3 edit
.. //depot/projects/xen31/sys/i386/xen/xen_machdep.c#5 edit

Differences ...

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

@@ -224,7 +224,7 @@
 	unsigned long va, pte_t new_val, unsigned long flags)
 {
 	unsigned long pte_hi = 0;
-#ifdef PAE
+#if defined(PAE) && 0
 	pte_hi = new_val.pte_high;
 #endif
 	return _hypercall4(int, update_va_mapping, va,

==== //depot/projects/xen31/sys/i386/xen/xen_machdep.c#5 (text+ko) ====

@@ -831,7 +831,7 @@
 	/*
 	 *  Map IdlePTD at PTD
 	 */
-	pdir_shadow[2][508] = IdlePTDnewma | PG_V;
+	pdir_shadow[2][511] = IdlePTDnewma | PG_V;
 
 	for (i = 0; i < 4; i++)
 		PT_SET_MA(pdir_shadow[i], pdir_shadow_ma[i] | PG_V);


More information about the p4-projects mailing list