summaryrefslogtreecommitdiff
path: root/sys/arch/amiga/include/vmparam.h
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1998-03-26 13:08:02 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1998-03-26 13:08:02 +0000
commit2b075f1f8c2a821daa3b14e2c03c18ee6a8578b9 (patch)
treea467679923d409c6301e5c1e6b3cc4366490cfe4 /sys/arch/amiga/include/vmparam.h
parentc6eb2688282913a5225ec68c001e4c8bd8708815 (diff)
Amiga works more stably with the old MAX_KMAP* entries, besides they
are dynamic today anyhow. I want to look into this a bit more after release because this a bit XXX
Diffstat (limited to 'sys/arch/amiga/include/vmparam.h')
-rw-r--r--sys/arch/amiga/include/vmparam.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/sys/arch/amiga/include/vmparam.h b/sys/arch/amiga/include/vmparam.h
index 28738d5982b..eaa2c20290e 100644
--- a/sys/arch/amiga/include/vmparam.h
+++ b/sys/arch/amiga/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmparam.h,v 1.4 1997/09/18 13:40:04 niklas Exp $ */
+/* $OpenBSD: vmparam.h,v 1.5 1998/03/26 13:08:01 niklas Exp $ */
/* $NetBSD: vmparam.h,v 1.16 1997/07/12 16:18:36 perry Exp $ */
/*
@@ -169,4 +169,16 @@
* number of kernel PT pages (initial only, can grow dynamically)
*/
#define VM_KERNEL_PT_PAGES ((vm_size_t)2) /* XXX: SYSPTSIZE */
+
+/*
+ * XXX Override MI values for number of kernel maps and entries to statically
+ * allocate, as we seem to lose hanging in high IPL with the MI values.
+ */
+#ifndef MAX_KMAP
+#define MAX_KMAP 10
+#endif
+#ifdef MAX_KMAPENT
+#define MAX_KMAPENT 500
+#endif
+
#endif /* !_MACHINE_VMPARAM_H_ */