/*
- * 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 */