summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/pmap.h
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2009-03-22 18:56:26 +0000
committeralc <alc@FreeBSD.org>2009-03-22 18:56:26 +0000
commit162399433748b4694312b18291e502d43d058288 (patch)
tree40c394081cbd0d47fa6d5c8089969581db6d8a33 /sys/amd64/include/pmap.h
parent62671f061cb1873834eb322f3e7f5d2982a0c7e5 (diff)
downloadFreeBSD-src-162399433748b4694312b18291e502d43d058288.zip
FreeBSD-src-162399433748b4694312b18291e502d43d058288.tar.gz
Update stale comments. The alternate address space mapping was eliminated
when PAE support was added to i386. The direct mapping exists on amd64.
Diffstat (limited to 'sys/amd64/include/pmap.h')
-rw-r--r--sys/amd64/include/pmap.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/amd64/include/pmap.h b/sys/amd64/include/pmap.h
index b3f7d77..c95a9f9 100644
--- a/sys/amd64/include/pmap.h
+++ b/sys/amd64/include/pmap.h
@@ -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))
OpenPOWER on IntegriCloud