Module Name:    src
Committed By:   tsutsui
Date:           Sat Jul 26 13:24:34 UTC 2014

Modified Files:
        src/sys/arch/atari/include: vmparam.h

Log Message:
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)


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/atari/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/atari/include/vmparam.h
diff -u src/sys/arch/atari/include/vmparam.h:1.28 src/sys/arch/atari/include/vmparam.h:1.29
--- src/sys/arch/atari/include/vmparam.h:1.28	Tue Feb  8 20:20:10 2011
+++ src/sys/arch/atari/include/vmparam.h	Sat Jul 26 13:24:34 2014
@@ -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))
 

Reply via email to