Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sun3/include In the LKM section add some things the...



details:   https://anonhg.NetBSD.org/src/rev/229c5cce501c
branches:  trunk
changeset: 503267:229c5cce501c
user:      jmc <jmc%NetBSD.org@localhost>
date:      Sun Feb 04 10:16:03 2001 +0000

description:
In the LKM section add some things the LKM's need (since they aren't
defining _SUN3_ or _SUN3X_ generally to pickup the full vmparam.h

Added MAXDSIZ (set to sun3's limit) and VM_NFREELIST

diffstat:

 sys/arch/sun3/include/vmparam.h |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 8c3625d29c70 -r 229c5cce501c sys/arch/sun3/include/vmparam.h
--- a/sys/arch/sun3/include/vmparam.h   Sun Feb 04 10:13:08 2001 +0000
+++ b/sys/arch/sun3/include/vmparam.h   Sun Feb 04 10:16:03 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.26 2000/11/14 19:34:26 thorpej Exp $     */
+/*     $NetBSD: vmparam.h,v 1.27 2001/02/04 10:16:03 jmc Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -49,7 +49,12 @@
 #endif /* SUN3X */
 #ifdef _LKM
 #define        USRSTACK KERNBASE
+/* Be conservative. If an LKM is gonna be built for sun3x, define this first */
+#ifndef MAXDSIZ
+#define MAXDSIZ         (32*1024*1024)          /* max data size */
+#endif
 extern char KERNBASE[];
+#define      VM_NFREELIST            1
 #endif /* _LKM */
 
 /* This is needed by some LKMs. */



Home | Main Index | Thread Index | Old Index