Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-6]: src/sys/arch/powerpc/include Pull up following revision(s) (r...
details: https://anonhg.NetBSD.org/src/rev/5d83b68c427d
branches: netbsd-6
changeset: 774113:5d83b68c427d
user: riz <riz%NetBSD.org@localhost>
date: Thu May 17 18:38:54 2012 +0000
description:
Pull up following revision(s) (requested by matt in ticket #255):
sys/arch/powerpc/include/vmparam.h: revision 1.17
Export MIN_PAGE_SIZE and MAX_PAGE_SIZE for modular kernels.
diffstat:
sys/arch/powerpc/include/vmparam.h | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r 774d3144b6b6 -r 5d83b68c427d sys/arch/powerpc/include/vmparam.h
--- a/sys/arch/powerpc/include/vmparam.h Thu May 17 18:32:13 2012 +0000
+++ b/sys/arch/powerpc/include/vmparam.h Thu May 17 18:38:54 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.16 2011/06/20 21:45:16 matt Exp $ */
+/* $NetBSD: vmparam.h,v 1.16.10.1 2012/05/17 18:38:54 riz Exp $ */
#ifndef _POWERPC_VMPARAM_H_
#define _POWERPC_VMPARAM_H_
@@ -28,14 +28,17 @@
#define VM_DEFAULT_ADDRESS(da, sz) \
((VM_MAXUSER_ADDRESS - MAXSSIZ) - round_page(sz))
-#if defined(_MODULE)
+#if defined(_MODULE) || defined(MODULAR)
/*
- * If we are a module, then we need with varible page sizes since BOOKE and OEA
- * use 4KB pages while IBM4XX use 16KB pages.
+ * If we are a module or a modular kernel, then we need to defined the range
+ * of our varible page sizes since BOOKE and OEA use 4KB pages while IBM4XX
+ * use 16KB pages.
*/
#define MIN_PAGE_SIZE 4096 /* BOOKE/OEA */
#define MAX_PAGE_SIZE 16384 /* IBM4XX */
+#endif
+#if defined(_MODULE)
#if defined(_RUMPKERNEL)
/*
* Safe definitions for RUMP kernels
Home |
Main Index |
Thread Index |
Old Index