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 Move VM_PHYSSEG_MAX to the common vmpa...
details: https://anonhg.NetBSD.org/src/rev/05834639b925
branches: trunk
changeset: 471602:05834639b925
user: gwr <gwr%NetBSD.org@localhost>
date: Mon Apr 05 14:35:13 1999 +0000
description:
Move VM_PHYSSEG_MAX to the common vmparam.h (needed by LKMs).
diffstat:
sys/arch/sun3/include/vmparam.h | 4 +++-
sys/arch/sun3/include/vmparam3.h | 3 +--
sys/arch/sun3/include/vmparam3x.h | 3 +--
3 files changed, 5 insertions(+), 5 deletions(-)
diffs (52 lines):
diff -r 9e9f6a4c734f -r 05834639b925 sys/arch/sun3/include/vmparam.h
--- a/sys/arch/sun3/include/vmparam.h Mon Apr 05 14:34:18 1999 +0000
+++ b/sys/arch/sun3/include/vmparam.h Mon Apr 05 14:35:13 1999 +0000
@@ -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 */
};
diff -r 9e9f6a4c734f -r 05834639b925 sys/arch/sun3/include/vmparam3.h
--- a/sys/arch/sun3/include/vmparam3.h Mon Apr 05 14:34:18 1999 +0000
+++ b/sys/arch/sun3/include/vmparam3.h Mon Apr 05 14:35:13 1999 +0000
@@ -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 */
diff -r 9e9f6a4c734f -r 05834639b925 sys/arch/sun3/include/vmparam3x.h
--- a/sys/arch/sun3/include/vmparam3x.h Mon Apr 05 14:34:18 1999 +0000
+++ b/sys/arch/sun3/include/vmparam3x.h Mon Apr 05 14:35:13 1999 +0000
@@ -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 */
Home |
Main Index |
Thread Index |
Old Index