Module Name: src
Committed By: jym
Date: Thu Jul 15 19:02:26 UTC 2010
Modified Files:
src/sys/arch/x86/include: pmap.h
Log Message:
Make the comment about PDPpaddr more thorough.
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/x86/include/pmap.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/x86/include/pmap.h
diff -u src/sys/arch/x86/include/pmap.h:1.31 src/sys/arch/x86/include/pmap.h:1.32
--- src/sys/arch/x86/include/pmap.h:1.31 Tue Jul 6 20:50:35 2010
+++ src/sys/arch/x86/include/pmap.h Thu Jul 15 19:02:26 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.h,v 1.31 2010/07/06 20:50:35 cegger Exp $ */
+/* $NetBSD: pmap.h,v 1.32 2010/07/15 19:02:26 jym Exp $ */
/*
*
@@ -183,7 +183,12 @@
* global kernel variables
*/
-/* PDPpaddr: is the physical address of the kernel's PDP */
+/*
+ * PDPpaddr is the physical address of the kernel's PDP.
+ * - i386 non-PAE and amd64: PDPpaddr corresponds directly to the %cr3
+ * value associated to the kernel process, proc0.
+ * - Xen: it corresponds to the PFN of the kernel's PDP.
+ */
extern u_long PDPpaddr;
extern int pmap_pg_g; /* do we support PG_G? */