Module Name: src
Committed By: phx
Date: Mon Jun 1 17:16:57 UTC 2015
Modified Files:
src/sys/arch/amiga/include: vmparam.h
Log Message:
Remove unused KUSER_AREA, SYSPTSIZE, USRPTSIZE.
Bump MAXTSIZ and MAXDSIZ to the same values atari is using.
This makes gcc 4.8 (/usr/libexec/cc1) load and execute.
To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/sys/arch/amiga/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/amiga/include/vmparam.h
diff -u src/sys/arch/amiga/include/vmparam.h:1.42 src/sys/arch/amiga/include/vmparam.h:1.43
--- src/sys/arch/amiga/include/vmparam.h:1.42 Tue Feb 8 20:20:08 2011
+++ src/sys/arch/amiga/include/vmparam.h Mon Jun 1 17:16:56 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.42 2011/02/08 20:20:08 rmind Exp $ */
+/* $NetBSD: vmparam.h,v 1.43 2015/06/01 17:16:56 phx Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -64,19 +64,19 @@
#ifndef USRSTACK
#define USRSTACK 0x1E000000
#endif
-#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 (128*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 */
@@ -86,13 +86,6 @@
#endif
/*
- * Sizes of the system and user portions of the system page table.
- */
-/* SYSPTSIZE IS SILLY; IT SHOULD BE COMPUTED AT BOOT TIME */
-#define SYSPTSIZE (2 * NPTEPG) /* 16mb */
-#define USRPTSIZE (1 * NPTEPG) /* 16mb */
-
-/*
* PTEs for mapping user space into the kernel for phyio operations.
* One page is enough to handle 16Mb of simultaneous raw IO operations.
*/