PERFORCE change 89255 for review

Kip Macy kmacy at FreeBSD.org
Thu Jan 5 21:10:15 PST 2006


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

Change 89255 by kmacy at 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;


More information about the p4-projects mailing list