Strictly speaking, the definition of VM_MAX_KERNEL_ADDRESS is wrong. However,
in practice, the error (currently) makes no difference because the computation performed by KVADDR() hides the error. This revision fixes the error. Also, eliminate a (now) unused definition.
This commit is contained in:
parent
f4f491d095
commit
ce3cb38836
@ -116,7 +116,6 @@
|
||||
|
||||
#define NKPML4E 1 /* number of kernel PML4 slots */
|
||||
#define NKPDPE 5 /* number of kernel PDP slots */
|
||||
#define NKPDE (NKPDPE*NPDEPG) /* number of kernel PD slots */
|
||||
|
||||
#define NUPML4E (NPML4EPG/2) /* number of userland PML4 pages */
|
||||
#define NUPDPE (NUPML4E*NPDPEPG)/* number of userland PDP pages */
|
||||
|
@ -152,7 +152,7 @@
|
||||
* messy at times, but hey, we'll do anything to save a page :-)
|
||||
*/
|
||||
|
||||
#define VM_MAX_KERNEL_ADDRESS KVADDR(KPML4I, NPDPEPG-1, NKPDE-1, NPTEPG-1)
|
||||
#define VM_MAX_KERNEL_ADDRESS KVADDR(KPML4I, NPDPEPG-1, NPDEPG-1, NPTEPG-1)
|
||||
#define VM_MIN_KERNEL_ADDRESS KVADDR(KPML4I, KPDPI, 0, 0)
|
||||
|
||||
#define DMAP_MIN_ADDRESS KVADDR(DMPML4I, 0, 0, 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user