Move VM_PHYSSEG_MAX to the common vmparam.h (needed by LKMs).

This commit is contained in:
gwr 1999-04-05 14:35:13 +00:00
parent 2cc28dc7b6
commit 95e8060c58
3 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: vmparam.h,v 1.21 1999/02/18 07:13:21 gwr Exp $ */
/* $NetBSD: vmparam.h,v 1.22 1999/04/05 14:35:13 gwr Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -40,6 +40,8 @@
#include <machine/vmparam3x.h>
#endif /* SUN3X */
/* This is needed by some LKMs. */
#define VM_PHYSSEG_MAX 4
struct pmap_physseg {
/* NULL */
};

View File

@ -1,4 +1,4 @@
/* $NetBSD: vmparam3.h,v 1.24 1999/02/18 07:13:21 gwr Exp $ */
/* $NetBSD: vmparam3.h,v 1.25 1999/04/05 14:35:13 gwr Exp $ */
/*
* Copyright (c) 1994 Gordon W. Ross
@ -118,7 +118,6 @@
#define VM_KMEM_SIZE (NKMEMCLUSTERS*CLBYTES)
#define VM_PHYS_SIZE (USRIOSIZE*CLBYTES)
#define VM_PHYSSEG_MAX 4 /* we only have one "hole" */
#define VM_PHYSSEG_STRAT VM_PSTRAT_BSEARCH
#define VM_PHYSSEG_NOADD /* can't add RAM after vm_mem_init */

View File

@ -1,4 +1,4 @@
/* $NetBSD: vmparam3x.h,v 1.10 1999/02/18 07:13:21 gwr Exp $ */
/* $NetBSD: vmparam3x.h,v 1.11 1999/04/05 14:35:13 gwr Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -106,7 +106,6 @@
#define VM_KMEM_SIZE (NKMEMCLUSTERS*CLBYTES)
#define VM_PHYS_SIZE (USRIOSIZE*CLBYTES)
#define VM_PHYSSEG_MAX 4
#define VM_PHYSSEG_STRAT VM_PSTRAT_BSEARCH
#define VM_PHYSSEG_NOADD /* can't add RAM after vm_mem_init */