summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/vmparam.h
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1993-09-27 00:36:57 +0000
committerrgrimes <rgrimes@FreeBSD.org>1993-09-27 00:36:57 +0000
commita7deae3c0f824b13c5b3cc74bf7b5499f72c811b (patch)
tree071bd076b5ffa4fbe9cabc289dfbe2c8b2e852ae /sys/i386/include/vmparam.h
parent3dcde8f1c04e8687f3aa61395503a20c8a0b20a0 (diff)
downloadFreeBSD-src-a7deae3c0f824b13c5b3cc74bf7b5499f72c811b.zip
FreeBSD-src-a7deae3c0f824b13c5b3cc74bf7b5499f72c811b.tar.gz
define SHMMAXPGS where it is suppose to be, you can over ride this with
a kernel config options "SHMAXPGS=xxx", default is currently 64 pages due to limit kernel map space.
Diffstat (limited to 'sys/i386/include/vmparam.h')
-rw-r--r--sys/i386/include/vmparam.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/i386/include/vmparam.h b/sys/i386/include/vmparam.h
index f9dc90d..1172db8 100644
--- a/sys/i386/include/vmparam.h
+++ b/sys/i386/include/vmparam.h
@@ -91,6 +91,13 @@
#define USRPTSIZE (2*NPTEPG)
/*
+ * Size of the Shared Memory Pages page table.
+ */
+#ifndef SHMAXPGS
+#define SHMMAXPGS 64 /* XXX until we have more kmap space */
+#endif
+
+/*
* Size of User Raw I/O map
*/
#define USRIOSIZE 300
OpenPOWER on IntegriCloud