|
|
1.1 root 1: /*
2: * Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
3: *
4: * @APPLE_LICENSE_HEADER_START@
5: *
6: * Portions Copyright (c) 1999 Apple Computer, Inc. All Rights
7: * Reserved. This file contains Original Code and/or Modifications of
8: * Original Code as defined in and that are subject to the Apple Public
9: * Source License Version 1.1 (the "License"). You may not use this file
10: * except in compliance with the License. Please obtain a copy of the
11: * License at http://www.apple.com/publicsource and read it before using
12: * this file.
13: *
14: * The Original Code and all software distributed under the License are
15: * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
16: * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
17: * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
18: * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the
19: * License for the specific language governing rights and limitations
20: * under the License.
21: *
22: * @APPLE_LICENSE_HEADER_END@
23: */
24:
25: /*
26: * HISTORY
27: * 16-Jan-98 Wilfredo Sanchez ([email protected])
28: * Remove #ifdef KERNEL_PRiVATE around USRSTACK to match ppc version.
29: * Sendmail needs it.
30: *
31: * 05-Sep-97 Umesh Vaishampayan ([email protected])
32: * Made MAXSSIZ a finite value.
33: *
34: * 05-Mar-89 Avadis Tevanian, Jr. (avie) at NeXT
35: * Make MAXDSIZ infinity.
36: *
37: * 12-Aug-87 John Seamons (jks) at NeXT
38: * Ported to NeXT.
39: */
40:
41: #ifndef _BSD_I386_VMPARAM_H_
42: #define _BSD_I386_VMPARAM_H_ 1
43:
44: #import <sys/resource.h>
45:
46: #define USRSTACK 0xc0000000
47:
48: /*
49: * Virtual memory related constants, all in bytes
50: */
51: #ifndef DFLDSIZ
52: #define DFLDSIZ (6*1024*1024) /* initial data size limit */
53: #endif
54: #ifndef MAXDSIZ
55: #define MAXDSIZ (RLIM_INFINITY) /* max data size */
56: #endif
57: #ifndef DFLSSIZ
58: #define DFLSSIZ (512*1024) /* initial stack size limit */
59: #endif
60: #ifndef MAXSSIZ
61: #define MAXSSIZ (64*1024*1024) /* max stack size */
62: #endif
63: #ifndef DFLCSIZ
64: #define DFLCSIZ (0) /* initial core size limit */
65: #endif
66: #ifndef MAXCSIZ
67: #define MAXCSIZ (RLIM_INFINITY) /* max core size */
68: #endif /* MAXCSIZ */
69:
70: #endif /* _BSD_I386_VMPARAM_H_ */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.