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:
parent
1e2924a83b
commit
ff34925b8f
|
@ -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 */
|
||||
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue