summaryrefslogtreecommitdiff
path: root/sys/arch/sun3
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2000-04-30 15:28:51 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2000-04-30 15:28:51 +0000
commit5b02c832ba5999dd2b09f9cb0c6724e7fb3ca5b7 (patch)
tree3f5a395ae14658a1ab40b528c62f952a6b651763 /sys/arch/sun3
parentd2cf12f126a769cf608847028d6bc36efd19878c (diff)
Prevent multi inclusion
Switch to new noncontig pmap settings
Diffstat (limited to 'sys/arch/sun3')
-rw-r--r--sys/arch/sun3/include/vmparam.h23
1 files changed, 22 insertions, 1 deletions
diff --git a/sys/arch/sun3/include/vmparam.h b/sys/arch/sun3/include/vmparam.h
index 125d6842929..7d64990874b 100644
--- a/sys/arch/sun3/include/vmparam.h
+++ b/sys/arch/sun3/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmparam.h,v 1.3 1997/09/21 04:21:25 niklas Exp $ */
+/* $OpenBSD: vmparam.h,v 1.4 2000/04/30 15:28:50 miod Exp $ */
/* $NetBSD: vmparam.h,v 1.14 1995/09/26 04:02:10 gwr Exp $ */
/*
@@ -45,6 +45,9 @@
* vmparam.h,v 1.2 1993/05/22 07:58:38 cgd Exp
*/
+#ifndef _MACHINE_VMPARAM_H
+#define _MACHINE_VMPARAM_H
+
/*
* Machine dependent constants for Sun3
*
@@ -160,3 +163,21 @@
#define VM_MBUF_SIZE (NMBCLUSTERS*MCLBYTES)
#define VM_KMEM_SIZE (NKMEMCLUSTERS*CLBYTES)
#define VM_PHYS_SIZE (USRIOSIZE*CLBYTES)
+
+#define MACHINE_NEW_NONCONTIG
+
+#define VM_PHYSSEG_MAX 4
+#define VM_PHYSSEG_STRAT VM_PSTRAT_BSEARCH
+#define VM_PHYSSEG_NOADD /* can't add memory after vm_mem_init */
+
+/*
+ * pmap specific data stored in the vm_physmem[] array
+ */
+struct pmap_physseg {
+ struct pvlist *pv_head;
+};
+
+#define VM_NFREELIST 1
+#define VM_FREELIST_DEFAULT 0
+
+#endif /* _MACHINE_VMPARAM_H */