Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch move VM_PHYSSEG_MAX, VM_NFREELIST, VM_FREELIST_DEFA...
details: https://anonhg.NetBSD.org/src/rev/fac71bd7b017
branches: trunk
changeset: 503508:fac71bd7b017
user: uch <uch%NetBSD.org@localhost>
date: Wed Feb 07 14:53:09 2001 +0000
description:
move VM_PHYSSEG_MAX, VM_NFREELIST, VM_FREELIST_DEFAULT defines to
machine/vmparam.h
diffstat:
sys/arch/dreamcast/include/vmparam.h | 7 ++++++-
sys/arch/evbsh3/include/vmparam.h | 7 ++++++-
sys/arch/hpcsh/include/vmparam.h | 7 ++++++-
sys/arch/mmeye/include/vmparam.h | 7 ++++++-
sys/arch/sh3/include/vmparam.h | 6 +-----
5 files changed, 25 insertions(+), 9 deletions(-)
diffs (87 lines):
diff -r 75aa6f069c8f -r fac71bd7b017 sys/arch/dreamcast/include/vmparam.h
--- a/sys/arch/dreamcast/include/vmparam.h Wed Feb 07 14:41:10 2001 +0000
+++ b/sys/arch/dreamcast/include/vmparam.h Wed Feb 07 14:53:09 2001 +0000
@@ -1,7 +1,12 @@
-/* $NetBSD: vmparam.h,v 1.1 2000/12/11 18:19:16 marcus Exp $ */
+/* $NetBSD: vmparam.h,v 1.2 2001/02/07 14:53:09 uch Exp $ */
#ifndef _DREAMCAST_VMPARAM_H_
#define _DREAMCAST_VMPARAM_H_
#include <sh3/vmparam.h>
+#define VM_PHYSSEG_MAX 1
+
+#define VM_NFREELIST 1
+#define VM_FREELIST_DEFAULT 0
+
#endif /* _DREAMCAST_VMPARAM_H_ */
diff -r 75aa6f069c8f -r fac71bd7b017 sys/arch/evbsh3/include/vmparam.h
--- a/sys/arch/evbsh3/include/vmparam.h Wed Feb 07 14:41:10 2001 +0000
+++ b/sys/arch/evbsh3/include/vmparam.h Wed Feb 07 14:53:09 2001 +0000
@@ -1,7 +1,12 @@
-/* $NetBSD: vmparam.h,v 1.1 1999/09/13 10:30:45 itojun Exp $ */
+/* $NetBSD: vmparam.h,v 1.2 2001/02/07 14:53:09 uch Exp $ */
#ifndef _EVBSH3_VMPARAM_H_
#define _EVBSH3_VMPARAM_H_
#include <sh3/vmparam.h>
+#define VM_PHYSSEG_MAX 1
+
+#define VM_NFREELIST 1
+#define VM_FREELIST_DEFAULT 0
+
#endif /* _EVBSH3_VMPARAM_H_ */
diff -r 75aa6f069c8f -r fac71bd7b017 sys/arch/hpcsh/include/vmparam.h
--- a/sys/arch/hpcsh/include/vmparam.h Wed Feb 07 14:41:10 2001 +0000
+++ b/sys/arch/hpcsh/include/vmparam.h Wed Feb 07 14:53:09 2001 +0000
@@ -1,7 +1,12 @@
-/* $NetBSD: vmparam.h,v 1.2 2001/01/28 03:31:32 uch Exp $ */
+/* $NetBSD: vmparam.h,v 1.3 2001/02/07 14:53:10 uch Exp $ */
#ifndef _HPCSH_VMPARAM_H_
#define _HPCSH_VMPARAM_H_
#include <sh3/vmparam.h>
+#define VM_PHYSSEG_MAX 3
+
+#define VM_NFREELIST 1
+#define VM_FREELIST_DEFAULT 0
+
#endif /* _HPCSH_VMPARAM_H_ */
diff -r 75aa6f069c8f -r fac71bd7b017 sys/arch/mmeye/include/vmparam.h
--- a/sys/arch/mmeye/include/vmparam.h Wed Feb 07 14:41:10 2001 +0000
+++ b/sys/arch/mmeye/include/vmparam.h Wed Feb 07 14:53:09 2001 +0000
@@ -1,3 +1,8 @@
-/* $NetBSD: vmparam.h,v 1.1 1999/09/13 10:31:00 itojun Exp $ */
+/* $NetBSD: vmparam.h,v 1.2 2001/02/07 14:53:09 uch Exp $ */
#include <sh3/vmparam.h>
+
+#define VM_PHYSSEG_MAX 1
+
+#define VM_NFREELIST 1
+#define VM_FREELIST_DEFAULT 0
diff -r 75aa6f069c8f -r fac71bd7b017 sys/arch/sh3/include/vmparam.h
--- a/sys/arch/sh3/include/vmparam.h Wed Feb 07 14:41:10 2001 +0000
+++ b/sys/arch/sh3/include/vmparam.h Wed Feb 07 14:53:09 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.6 2000/04/25 12:31:10 tsubai Exp $ */
+/* $NetBSD: vmparam.h,v 1.7 2001/02/07 14:53:09 uch Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -123,13 +123,9 @@
/* virtual sizes (bytes) for various kernel submaps */
#define VM_PHYS_SIZE (USRIOSIZE*NBPG)
-#define VM_PHYSSEG_MAX 1
#define VM_PHYSSEG_STRAT VM_PSTRAT_BSEARCH
#define VM_PHYSSEG_NOADD /* no more after vm_mem_init */
-#define VM_NFREELIST 1
-#define VM_FREELIST_DEFAULT 0
-
/*
* pmap specific data stored in the vm_physmem[] array
*/
Home |
Main Index |
Thread Index |
Old Index