Module Name:    src
Committed By:   joerg
Date:           Tue Feb 24 22:02:40 UTC 2015

Modified Files:
        src/sys/arch/arm/include/arm32: vmparam.h

Log Message:
Restore PAGER_MAP_DEFAULT_SIZE for ARMv4, they typically have only 256MB
KVA.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/arch/arm/include/arm32/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/arm/include/arm32/vmparam.h
diff -u src/sys/arch/arm/include/arm32/vmparam.h:1.35 src/sys/arch/arm/include/arm32/vmparam.h:1.36
--- src/sys/arch/arm/include/arm32/vmparam.h:1.35	Sun Jul 27 21:31:34 2014
+++ src/sys/arch/arm/include/arm32/vmparam.h	Tue Feb 24 22:02:40 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: vmparam.h,v 1.35 2014/07/27 21:31:34 skrll Exp $	*/
+/*	$NetBSD: vmparam.h,v 1.36 2015/02/24 22:02:40 joerg Exp $	*/
 
 /*
  * Copyright (c) 2001, 2002 Wasabi Systems, Inc.
@@ -50,6 +50,14 @@
 #define	USRSTACK	VM_MAXUSER_ADDRESS
 
 /*
+ * ARMv4 systems are normaly configured for 256MB KVA only, so restrict
+ * the size of the pager map to 4MB.
+ */
+#ifndef _ARM_ARCH_5
+#define PAGER_MAP_DEFAULT_SIZE          (4 * 1024 * 1024)
+#endif
+
+/*
  * Note that MAXTSIZ can't be larger than 32M, otherwise the compiler
  * would have to be changed to not generate "bl" instructions.
  */

Reply via email to