vmparam.h   [plain text]


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