]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/arm/vmparam.h
xnu-4570.1.46.tar.gz
[apple/xnu.git] / bsd / arm / vmparam.h
diff --git a/bsd/arm/vmparam.h b/bsd/arm/vmparam.h
new file mode 100644 (file)
index 0000000..dbee652
--- /dev/null
@@ -0,0 +1,35 @@
+/*
+ * Copyright (c) 2000-2007 Apple Inc. All rights reserved.
+ */
+
+#ifndef        _BSD_ARM_VMPARAM_H_
+#define        _BSD_ARM_VMPARAM_H_ 1
+
+#include <sys/resource.h>
+
+#define        USRSTACK        (0x27E00000)    /* ASLR slides stack down by up to 1MB */
+#define        USRSTACK64      (0x000000016FE00000ULL)
+
+/*
+ * Virtual memory related constants, all in bytes
+ */
+#ifndef DFLDSIZ
+#define        DFLDSIZ         (RLIM_INFINITY)         /* initial data size limit */
+#endif
+#ifndef MAXDSIZ
+#define        MAXDSIZ         (RLIM_INFINITY)         /* max data size */
+#endif
+#ifndef        DFLSSIZ
+#define        DFLSSIZ         (1024*1024 - 16*1024)   /* initial stack size limit */
+#endif
+#ifndef        MAXSSIZ
+#define        MAXSSIZ         (1024*1024)             /* max stack size */
+#endif
+#ifndef        DFLCSIZ
+#define DFLCSIZ                (0)                     /* initial core size limit */
+#endif
+#ifndef        MAXCSIZ
+#define MAXCSIZ                (RLIM_INFINITY)         /* max core size */
+#endif /* MAXCSIZ */
+
+#endif /* _BSD_ARM_VMPARAM_H_ */