diff options
author | alc <alc@FreeBSD.org> | 2009-03-22 18:56:26 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2009-03-22 18:56:26 +0000 |
commit | 162399433748b4694312b18291e502d43d058288 (patch) | |
tree | 40c394081cbd0d47fa6d5c8089969581db6d8a33 | |
parent | 62671f061cb1873834eb322f3e7f5d2982a0c7e5 (diff) | |
download | FreeBSD-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.
-rw-r--r-- | sys/amd64/include/pmap.h | 8 | ||||
-rw-r--r-- | sys/i386/include/pmap.h | 3 |
2 files changed, 2 insertions, 9 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)) diff --git a/sys/i386/include/pmap.h b/sys/i386/include/pmap.h index 00a3f7b..519ff6c 100644 --- a/sys/i386/include/pmap.h +++ b/sys/i386/include/pmap.h @@ -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[]; |