svn commit: r190272 - in head/sys: amd64/include i386/include
Alan Cox
alc at FreeBSD.org
Sun Mar 22 11:56:27 PDT 2009
Author: alc
Date: Sun Mar 22 18:56:26 2009
New Revision: 190272
URL: http://svn.freebsd.org/changeset/base/190272
Log:
Update stale comments. The alternate address space mapping was eliminated
when PAE support was added to i386. The direct mapping exists on amd64.
Modified:
head/sys/amd64/include/pmap.h
head/sys/i386/include/pmap.h
Modified: head/sys/amd64/include/pmap.h
==============================================================================
--- head/sys/amd64/include/pmap.h Sun Mar 22 17:22:14 2009 (r190271)
+++ head/sys/amd64/include/pmap.h Sun Mar 22 18:56:26 2009 (r190272)
@@ -160,13 +160,7 @@ typedef u_int64_t pml4_entry_t;
#define PDESHIFT (3)
/*
- * Address of current and alternate address space page table maps
- * and directories.
- * XXX it might be saner to just direct map all of physical memory
- * into the kernel using 2MB pages. We have enough space to do
- * it (2^47 bits of KVM, while current max physical addressability
- * is 2^40 physical bits). Then we can get rid of the evil hole
- * in the page tables and the evil overlapping.
+ * Address of current address space page table maps and directories.
*/
#ifdef _KERNEL
#define addr_PTmap (KVADDR(PML4PML4I, 0, 0, 0))
Modified: head/sys/i386/include/pmap.h
==============================================================================
--- head/sys/i386/include/pmap.h Sun Mar 22 17:22:14 2009 (r190271)
+++ head/sys/i386/include/pmap.h Sun Mar 22 18:56:26 2009 (r190272)
@@ -174,8 +174,7 @@ typedef uint32_t pt_entry_t;
#endif
/*
- * Address of current and alternate address space page table maps
- * and directories.
+ * Address of current address space page table maps and directories.
*/
#ifdef _KERNEL
extern pt_entry_t PTmap[];
More information about the svn-src-all
mailing list