summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/pmap.h
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2008-06-29 19:13:27 +0000
committeralc <alc@FreeBSD.org>2008-06-29 19:13:27 +0000
commit828df4dc3dac63293ab21a8e582906b067d91183 (patch)
tree12646205872bc0d8d8a96b21da50681ea1463abb /sys/amd64/include/pmap.h
parent4a9078c9b0025dc0e579edc1488542b19900b611 (diff)
downloadFreeBSD-src-828df4dc3dac63293ab21a8e582906b067d91183.zip
FreeBSD-src-828df4dc3dac63293ab21a8e582906b067d91183.tar.gz
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.
Diffstat (limited to 'sys/amd64/include/pmap.h')
-rw-r--r--sys/amd64/include/pmap.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/amd64/include/pmap.h b/sys/amd64/include/pmap.h
index bda82cb..dfd66d1 100644
--- a/sys/amd64/include/pmap.h
+++ b/sys/amd64/include/pmap.h
@@ -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 */
OpenPOWER on IntegriCloud