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
This commit is contained in:
parent
36f1b05b1f
commit
7ce76feecc
|
@ -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. */
|
||||
|
|
Loading…
Reference in New Issue