Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/include Make the comment about PDPpaddr more th...
details: https://anonhg.NetBSD.org/src/rev/afb0ffeaa512
branches: trunk
changeset: 756382:afb0ffeaa512
user: jym <jym%NetBSD.org@localhost>
date: Thu Jul 15 19:02:26 2010 +0000
description:
Make the comment about PDPpaddr more thorough.
diffstat:
sys/arch/x86/include/pmap.h | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diffs (23 lines):
diff -r 957aa30d1502 -r afb0ffeaa512 sys/arch/x86/include/pmap.h
--- a/sys/arch/x86/include/pmap.h Thu Jul 15 18:58:40 2010 +0000
+++ b/sys/arch/x86/include/pmap.h Thu Jul 15 19:02:26 2010 +0000
@@ -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? */
Home |
Main Index |
Thread Index |
Old Index