Pull up following revision(s) (requested by phx in ticket #841):

sys/arch/amiga/include/vmparam.h: revision 1.43
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.
This commit is contained in:
snj 2015-06-29 17:21:27 +00:00
parent 2de1e21faf
commit 4c2ee506fa
1 changed files with 4 additions and 11 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: vmparam.h,v 1.42 2011/02/08 20:20:08 rmind Exp $ */
/* $NetBSD: vmparam.h,v 1.42.30.1 2015/06/29 17:21:27 snj 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 */
@ -85,13 +85,6 @@
#define MAXSSIZ (32*1024*1024) /* max stack size */
#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.