]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/i386/vmparam.h
xnu-2422.90.20.tar.gz
[apple/xnu.git] / bsd / i386 / vmparam.h
index 3cdbfebda53148a3508ba563f6ae0c306c325768..b6389b47d321a865ca79a33eed894806b8778fe4 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000-2002 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000-2006 Apple Computer, Inc. All rights reserved.
  *
  * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  * 
 
 #include <sys/resource.h>
 
-#define        USRSTACK        (0xC0000000)
+/* Rosetta dependency on this address */
+#define        USRSTACK        VM_USRSTACK32
+
+#define        USRSTACK64      VM_USRSTACK64
+
 
 /*
  * Virtual memory related constants, all in bytes
  */
 #ifndef DFLDSIZ
-#define        DFLDSIZ         (6*1024*1024)           /* initial data size limit */
+#define        DFLDSIZ         (RLIM_INFINITY)         /* initial data size limit */
 #endif
 #ifndef MAXDSIZ
 #define        MAXDSIZ         (RLIM_INFINITY)         /* max data size */
 #endif
 #ifndef        DFLSSIZ
-#define        DFLSSIZ         (8*1024*1024 - 7*4*1024)        /* initial stack size limit */
+#define        DFLSSIZ         (8*1024*1024)           /* initial stack size limit */
 #endif
 #ifndef        MAXSSIZ
-#define        MAXSSIZ         (64*1024*1024 - 7*4*1024)       /* max stack size */
+#define        MAXSSIZ         (64*1024*1024)          /* max stack size */
 #endif
 #ifndef        DFLCSIZ
 #define DFLCSIZ                (0)                     /* initial core size limit */