Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jan 2006 05:10:13 GMT
From:      Kip Macy <kmacy@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 89255 for review
Message-ID:  <200601060510.k065ADcB079116@repoman.freebsd.org>

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

Change 89255 by kmacy@kmacy:freebsd7_xen3 on 2006/01/06 05:09:40

	ensure that pcb_cr3 always contains a physical address

Affected files ...

.. //depot/projects/xen3/src/sys/i386-xen/i386-xen/machdep.c#2 edit

Differences ...

==== //depot/projects/xen3/src/sys/i386-xen/i386-xen/machdep.c#2 (text+ko) ====

@@ -2417,9 +2417,9 @@
 	/* setup proc 0's pcb */
 	thread0.td_pcb->pcb_flags = 0; /* XXXKSE */
 #ifdef PAE
-	thread0.td_pcb->pcb_cr3 = (int)IdlePDPT;
+	thread0.td_pcb->pcb_cr3 = xpmap_mtop((int)IdlePDPT);
 #else
-	thread0.td_pcb->pcb_cr3 = (int)IdlePTD;
+	thread0.td_pcb->pcb_cr3 = xpmap_mtop((int)IdlePTD);
 #endif
 	thread0.td_pcb->pcb_ext = 0;
 	thread0.td_frame = &proc0_tf;



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