1 | /* |
2 | * Copyright (c) 2000-2007 Apple Inc. All rights reserved. |
3 | */ |
4 | |
5 | #ifndef _BSD_ARM_VMPARAM_H_ |
6 | #define _BSD_ARM_VMPARAM_H_ 1 |
7 | |
8 | #include <sys/resource.h> |
9 | |
10 | #define USRSTACK (0x27E00000) /* ASLR slides stack down by up to 1MB */ |
11 | #define USRSTACK64 (0x000000016FE00000ULL) |
12 | |
13 | /* |
14 | * Virtual memory related constants, all in bytes |
15 | */ |
16 | #ifndef DFLDSIZ |
17 | #define DFLDSIZ (RLIM_INFINITY) /* initial data size limit */ |
18 | #endif |
19 | #ifndef MAXDSIZ |
20 | #define MAXDSIZ (RLIM_INFINITY) /* max data size */ |
21 | #endif |
22 | #ifndef DFLSSIZ |
23 | #define DFLSSIZ (1024*1024 - 16*1024) /* initial stack size limit */ |
24 | #endif |
25 | #ifndef MAXSSIZ |
26 | #define MAXSSIZ (1024*1024) /* max stack size */ |
27 | #endif |
28 | #ifndef DFLCSIZ |
29 | #define DFLCSIZ (0) /* initial core size limit */ |
30 | #endif |
31 | #ifndef MAXCSIZ |
32 | #define MAXCSIZ (RLIM_INFINITY) /* max core size */ |
33 | #endif /* MAXCSIZ */ |
34 | |
35 | #endif /* _BSD_ARM_VMPARAM_H_ */ |
36 | |