summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/vmparam.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/vmparam.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/vmparam.h')
-rw-r--r--sys/amd64/include/vmparam.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/include/vmparam.h b/sys/amd64/include/vmparam.h
index f1cd14e..b091495 100644
--- a/sys/amd64/include/vmparam.h
+++ b/sys/amd64/include/vmparam.h
@@ -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)
OpenPOWER on IntegriCloud