summaryrefslogtreecommitdiffstats
path: root/sys/sun4v
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2009-09-18 17:04:57 +0000
committeralc <alc@FreeBSD.org>2009-09-18 17:04:57 +0000
commit309c5ab06fe539d4f571d4c3b2acb779c5138fbf (patch)
tree7d24849cdaea55926149a790b882fea6f17045ab /sys/sun4v
parent87c8593067033119e40d28b40a47c236b8a5f7ac (diff)
downloadFreeBSD-src-309c5ab06fe539d4f571d4c3b2acb779c5138fbf.zip
FreeBSD-src-309c5ab06fe539d4f571d4c3b2acb779c5138fbf.tar.gz
Add a new sysctl for reporting all of the supported page sizes.
Reviewed by: jhb MFC after: 3 weeks
Diffstat (limited to 'sys/sun4v')
-rw-r--r--sys/sun4v/include/param.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sun4v/include/param.h b/sys/sun4v/include/param.h
index 069ab54..2ca699e 100644
--- a/sys/sun4v/include/param.h
+++ b/sys/sun4v/include/param.h
@@ -104,6 +104,8 @@
#define PAGE_SIZE_MAX PAGE_SIZE_4M
#define PAGE_MASK_MAX PAGE_MASK_4M
+#define MAXPAGESIZES 1 /* maximum number of supported page sizes */
+
#ifndef KSTACK_PAGES
#define KSTACK_PAGES 4 /* pages of kernel stack (with pcb) */
#endif
OpenPOWER on IntegriCloud