vmparam.h (aaf08d94cad23fc4be2c840a0782f9468c519927) | vmparam.h (e10a618657ee61171da62fd24c25102d1366be75) |
---|---|
1/*- 2 * Copyright (c) 1990 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * William Jolitz. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 20 unchanged lines hidden (view full) --- 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * from: @(#)vmparam.h 5.9 (Berkeley) 5/12/91 | 1/*- 2 * Copyright (c) 1990 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * William Jolitz. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 20 unchanged lines hidden (view full) --- 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * from: @(#)vmparam.h 5.9 (Berkeley) 5/12/91 |
37 * $Id: vmparam.h,v 1.8 1993/11/07 17:43:17 wollman Exp $ | 37 * $Id: vmparam.h,v 1.9 1993/12/19 00:50:19 wollman Exp $ |
38 */ 39 40 41#ifndef _MACHINE_VMPARAM_H_ 42#define _MACHINE_VMPARAM_H_ 1 43 44/* 45 * Machine dependent constants for 386. --- 14 unchanged lines hidden (view full) --- 60#define USRSTACK 0xFDBFE000UL 61#define BTOPUSRSTACK (0xFDC00-(UPAGES)) /* btop(USRSTACK) */ 62#define LOWPAGES 0UL 63#define HIGHPAGES UPAGES 64 65/* 66 * Virtual memory related constants, all in bytes 67 */ | 38 */ 39 40 41#ifndef _MACHINE_VMPARAM_H_ 42#define _MACHINE_VMPARAM_H_ 1 43 44/* 45 * Machine dependent constants for 386. --- 14 unchanged lines hidden (view full) --- 60#define USRSTACK 0xFDBFE000UL 61#define BTOPUSRSTACK (0xFDC00-(UPAGES)) /* btop(USRSTACK) */ 62#define LOWPAGES 0UL 63#define HIGHPAGES UPAGES 64 65/* 66 * Virtual memory related constants, all in bytes 67 */ |
68#define MAXTSIZ (6UL*1024*1024) /* max text size */ | 68#define MAXTSIZ (16UL*1024*1024) /* max text size */ |
69#ifndef DFLDSIZ | 69#ifndef DFLDSIZ |
70#define DFLDSIZ (16UL*1024*1024) /* initial data size limit */ | 70#define DFLDSIZ (64UL*1024*1024) /* initial data size limit */ |
71#endif 72#ifndef MAXDSIZ | 71#endif 72#ifndef MAXDSIZ |
73#define MAXDSIZ (32UL*1024*1024) /* max data size */ | 73#define MAXDSIZ (128UL*1024*1024) /* max data size */ |
74#endif 75#ifndef DFLSSIZ 76#define DFLSSIZ (512UL*1024) /* initial stack size limit */ 77#endif 78#ifndef MAXSSIZ | 74#endif 75#ifndef DFLSSIZ 76#define DFLSSIZ (512UL*1024) /* initial stack size limit */ 77#endif 78#ifndef MAXSSIZ |
79#define MAXSSIZ (8UL*1024*1024) /* max stack size */ | 79#define MAXSSIZ (64UL*1024*1024) /* max stack size */ |
80#endif 81 82/* 83 * Default sizes of swap allocation chunks (see dmap.h). 84 * The actual values may be changed in vminit() based on MAXDSIZ. 85 * With MAXDSIZ of 16Mb and NDMAP of 38, dmmax will be 1024. 86 */ 87#define DMMIN 32 /* smallest swap allocation */ --- 178 unchanged lines hidden --- | 80#endif 81 82/* 83 * Default sizes of swap allocation chunks (see dmap.h). 84 * The actual values may be changed in vminit() based on MAXDSIZ. 85 * With MAXDSIZ of 16Mb and NDMAP of 38, dmmax will be 1024. 86 */ 87#define DMMIN 32 /* smallest swap allocation */ --- 178 unchanged lines hidden --- |