aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/include
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2009-10-31 18:54:26 +0000
committerAlan Cox <alc@FreeBSD.org>2009-10-31 18:54:26 +0000
commitebc91405bdb4587f2434aa552a45c82e5df2231c (patch)
tree00049577401f4871bee8e2081f39f9a48b5db89c /sys/amd64/include
parent38c15033c7c4ed836e3dbe11827374db0a903fd7 (diff)
Notes
Diffstat (limited to 'sys/amd64/include')
-rw-r--r--sys/amd64/include/param.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/amd64/include/param.h b/sys/amd64/include/param.h
index edcf427df3e6..10d3ab3d6b25 100644
--- a/sys/amd64/include/param.h
+++ b/sys/amd64/include/param.h
@@ -118,6 +118,8 @@
#define NBPML4 (1ul<<PML4SHIFT)/* bytes/page map lev4 table */
#define PML4MASK (NBPML4-1)
+#define MAXPAGESIZES 3 /* maximum number of supported page sizes */
+
#define IOPAGES 2 /* pages of i/o permission bitmap */
#ifndef KSTACK_PAGES