Update stale comments. The alternate address space mapping was eliminated
when PAE support was added to i386. The direct mapping exists on amd64.
This commit is contained in:
parent
2c93c8f251
commit
b4862e19af
@ -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))
|
||||
|
@ -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[];
|
||||
|
Loading…
Reference in New Issue
Block a user