summaryrefslogtreecommitdiff
path: root/sys/arch/sgi
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2008-04-07 22:41:53 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2008-04-07 22:41:53 +0000
commitc800258dc2e3603ab4f631b99d0b2a2f8644eceb (patch)
treec1be24bc6250c68a09798adb3049e0150fa5a20a /sys/arch/sgi
parent004f4a346ebdae01ba80cfb78180ad6729aa53e6 (diff)
Allow for up to 32 memory segments.
Diffstat (limited to 'sys/arch/sgi')
-rw-r--r--sys/arch/sgi/include/memconf.h9
-rw-r--r--sys/arch/sgi/include/vmparam.h9
2 files changed, 14 insertions, 4 deletions
diff --git a/sys/arch/sgi/include/memconf.h b/sys/arch/sgi/include/memconf.h
index 0c67ae975bd..00929344c40 100644
--- a/sys/arch/sgi/include/memconf.h
+++ b/sys/arch/sgi/include/memconf.h
@@ -1,5 +1,10 @@
-/* $OpenBSD: memconf.h,v 1.1 2004/08/06 21:12:19 pefo Exp $ */
+/* $OpenBSD: memconf.h,v 1.2 2008/04/07 22:41:52 miod Exp $ */
-/* Use Mips generic include file */
+#ifndef _SGI_MEMCONF_H_
+#define _SGI_MEMCONF_H_
+
+#define MAXMEMSEGS 32
#include <mips64/memconf.h>
+
+#endif /* _SGI_MEMCONF_H_ */
diff --git a/sys/arch/sgi/include/vmparam.h b/sys/arch/sgi/include/vmparam.h
index 24909bbf04f..ba4d5e73e58 100644
--- a/sys/arch/sgi/include/vmparam.h
+++ b/sys/arch/sgi/include/vmparam.h
@@ -1,5 +1,10 @@
-/* $OpenBSD: vmparam.h,v 1.1 2004/08/06 21:12:19 pefo Exp $ */
+/* $OpenBSD: vmparam.h,v 1.2 2008/04/07 22:41:52 miod Exp $ */
-/* Use Mips generic include file */
+#ifndef _SGI_VMPARAM_H_
+#define _SGI_VMPARAM_H_
+
+#define VM_PHYSSEG_MAX 32 /* Max number of physical memory segments */
#include <mips64/vmparam.h>
+
+#endif /* _SGI_VMPARAM_H_ */