Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amiga/include Remove unused KUSER_AREA, SYSPTSIZE, ...
details: https://anonhg.NetBSD.org/src/rev/851d4e2e5c8e
branches: trunk
changeset: 338619:851d4e2e5c8e
user: phx <phx%NetBSD.org@localhost>
date: Mon Jun 01 17:16:56 2015 +0000
description:
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.
diffstat:
sys/arch/amiga/include/vmparam.h | 15 ++++-----------
1 files changed, 4 insertions(+), 11 deletions(-)
diffs (46 lines):
diff -r d2b0ce65130c -r 851d4e2e5c8e sys/arch/amiga/include/vmparam.h
--- a/sys/arch/amiga/include/vmparam.h Mon Jun 01 17:09:46 2015 +0000
+++ b/sys/arch/amiga/include/vmparam.h Mon Jun 01 17:16:56 2015 +0000
@@ -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.
*/
Home |
Main Index |
Thread Index |
Old Index