Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/atari/include Reorganize and bump VM related consta...



details:   https://anonhg.NetBSD.org/src/rev/633fb92378f3
branches:  trunk
changeset: 330989:633fb92378f3
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Jul 26 13:24:34 2014 +0000

description:
Reorganize and bump VM related constants.

- sync VM_MAXUSER_ADDRESS and VM_MAX_ADDRESS with other hp300 derived ports
  and use same definitions for USRSTACK as other m68k ports
  (no worth to have sun3/sunos compat in these days)
- remove unused KUSER_AREA
- bump MAXTSIZ, MAXDSIZ, and MAXSSIZ

These changes allow my 64MB TT030 build pkgsrc/textproc/icu
which seems to require >200MB VA space.
(note our current 040/060 pmap implementation can't handle >224MB VA size)

diffstat:

 sys/arch/atari/include/vmparam.h |  18 +++++++-----------
 1 files changed, 7 insertions(+), 11 deletions(-)

diffs (56 lines):

diff -r 2bd5c88cceb4 -r 633fb92378f3 sys/arch/atari/include/vmparam.h
--- a/sys/arch/atari/include/vmparam.h  Sat Jul 26 12:48:07 2014 +0000
+++ b/sys/arch/atari/include/vmparam.h  Sat Jul 26 13:24:34 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.28 2011/02/08 20:20:10 rmind Exp $       */
+/*     $NetBSD: vmparam.h,v 1.29 2014/07/26 13:24:34 tsutsui Exp $     */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -57,31 +57,27 @@
 
 /*
  * USRSTACK is the top (end) of the user stack.
- *
- * These are a mixture of i386, sun3 and hp settings.. 
  */
+#define        USRSTACK        VM_MAXUSER_ADDRESS
 
-/* Sun settings. Still hope, that I might get sun3 binaries to work... */
-#define        USRSTACK        0x0E000000
-#define KUSER_AREA     (-UPAGES*PAGE_SIZE)
 /*
  * Virtual memory related constants, all in bytes
  */
 
 #ifndef MAXTSIZ
-#define        MAXTSIZ         (6*1024*1024)           /* max text size */
+#define        MAXTSIZ         (16*1024*1024)          /* max text size */
 #endif
 #ifndef DFLDSIZ
 #define        DFLDSIZ         (32*1024*1024)          /* initial data size limit */
 #endif
 #ifndef MAXDSIZ
-#define        MAXDSIZ         (64*1024*1024)          /* max data size */
+#define        MAXDSIZ         (256*1024*1024)         /* max data size */
 #endif
 #ifndef        DFLSSIZ
 #define        DFLSSIZ         (2*1024*1024)           /* initial stack size limit */
 #endif
 #ifndef        MAXSSIZ
-#define        MAXSSIZ         (32*1024*1024)          /* max stack size */
+#define        MAXSSIZ         (256*1024*1024)         /* max stack size */
 #endif
 
 /*
@@ -103,8 +99,8 @@
  * user/kernel map constants
  */
 #define VM_MIN_ADDRESS         ((vaddr_t)0)
-#define VM_MAX_ADDRESS         ((vaddr_t)(USRSTACK))
-#define VM_MAXUSER_ADDRESS     ((vaddr_t)(VM_MAX_ADDRESS))
+#define VM_MAX_ADDRESS         ((vaddr_t)0xFFF00000)
+#define VM_MAXUSER_ADDRESS     ((vaddr_t)0xFFF00000)
 #define VM_MIN_KERNEL_ADDRESS  ((vaddr_t)0)
 #define VM_MAX_KERNEL_ADDRESS  ((vaddr_t)-(NPTEPG * PAGE_SIZE))
 



Home | Main Index | Thread Index | Old Index