Module Name:    src
Committed By:   matt
Date:           Tue Dec  8 18:10:54 UTC 2009

Modified Files:
        src/sys/arch/mips/include [matt-nb5-mips64]: vmparam.h

Log Message:
Define various vm freelists for different classes of memory.


To generate a diff of this commit:
cvs rdiff -u -r1.41.28.5 -r1.41.28.6 src/sys/arch/mips/include/vmparam.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/mips/include/vmparam.h
diff -u src/sys/arch/mips/include/vmparam.h:1.41.28.5 src/sys/arch/mips/include/vmparam.h:1.41.28.6
--- src/sys/arch/mips/include/vmparam.h:1.41.28.5	Mon Nov  9 09:58:19 2009
+++ src/sys/arch/mips/include/vmparam.h	Tue Dec  8 18:10:54 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: vmparam.h,v 1.41.28.5 2009/11/09 09:58:19 cliff Exp $	*/
+/*	$NetBSD: vmparam.h,v 1.41.28.6 2009/12/08 18:10:54 matt Exp $	*/
 
 /*
  * Copyright (c) 1992, 1993
@@ -219,4 +219,11 @@
 	(pg)->mdpage.pvh_list = NULL;					\
 } while (/* CONSTCOND */ 0)
 
+#define	VM_NFREELIST		16	/* 16 distinct memory segments */
+#define VM_FREELIST_DEFAULT	0
+#define VM_FREELIST_FIRST16M	1	/* ISA DMA range */
+#define VM_FREELIST_FIRST512M	2	/* KSEG0/1 */
+#define VM_FREELIST_FIRST4G	3	/* 32bit addrs */
+#define VM_FREELIST_MAX		4
+
 #endif /* ! _MIPS_VMPARAM_H_ */

Reply via email to