Module Name: src
Committed By: matt
Date: Thu Jan 21 09:03:17 UTC 2010
Modified Files:
src/sys/arch/sbmips/include [matt-nb5-mips64]: vmparam.h
Log Message:
Define the FIRST512 and FIRST4G vm freelists
To generate a diff of this commit:
cvs rdiff -u -r1.1.142.1 -r1.1.142.2 src/sys/arch/sbmips/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/sbmips/include/vmparam.h
diff -u src/sys/arch/sbmips/include/vmparam.h:1.1.142.1 src/sys/arch/sbmips/include/vmparam.h:1.1.142.2
--- src/sys/arch/sbmips/include/vmparam.h:1.1.142.1 Fri Dec 11 20:22:15 2009
+++ src/sys/arch/sbmips/include/vmparam.h Thu Jan 21 09:03:17 2010
@@ -1,6 +1,19 @@
-/* $NetBSD: vmparam.h,v 1.1.142.1 2009/12/11 20:22:15 matt Exp $ */
+/* $NetBSD: vmparam.h,v 1.1.142.2 2010/01/21 09:03:17 matt Exp $ */
+#ifndef _SBMIPS_VMPARAM_H_
+#define _SBMIPS_VMPARAM_H_
#include <mips/vmparam.h>
/* XXXcgd */
#define VM_PHYSSEG_MAX 8
+
+#undef VM_FREELIST_MAX
+#define VM_FREELIST_MAX 3
+#if defined(_MIPS_PADDR_T_64BIT) || defined(_LP64)
+#define VM_FREELIST_FIRST4G 2
+#endif
+#if !defined(_LP64)
+#define VM_FREELIST_FIRST512M 1
+#endif
+
+#endif /* _SBMIPS_VMPARAM_H_ */