Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Dec 2007 06:40:48 GMT
From:      Kip Macy <kmacy@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 131567 for review
Message-ID:  <200712250640.lBP6emQu022445@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=131567

Change 131567 by kmacy@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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712250640.lBP6emQu022445>