comparison src/ntheap.c @ 438:84b14dcb0985 r21-2-27

Import from CVS: tag r21-2-27
author cvs
date Mon, 13 Aug 2007 11:32:25 +0200
parents 3ecd8885ac67
children 8de8e3f6228a
comparison
equal deleted inserted replaced
437:e2a4e8b94b82 438:84b14dcb0985
146 28 bits available for pointers, this lets us use the remainder of 146 28 bits available for pointers, this lets us use the remainder of
147 the region below the 256MB line for our malloc arena - 229MB is 147 the region below the 256MB line for our malloc arena - 229MB is
148 still a pretty decent arena to play in! */ 148 still a pretty decent arena to play in! */
149 149
150 unsigned long base = 0x01B00000; /* 27MB */ 150 unsigned long base = 0x01B00000; /* 27MB */
151 unsigned long end = 1 << VALBITS; /* 256MB */ 151 /* Temporary hack for the non-starting problem - use 28 (256Mb) rather than VALBITS (1Gb) */
152 unsigned long end = 1 << 28; /* 256MB */
152 void *ptr = NULL; 153 void *ptr = NULL;
153 154
154 #define NTHEAP_PROBE_BASE 1 155 #define NTHEAP_PROBE_BASE 1
155 #if NTHEAP_PROBE_BASE /* This is never normally defined */ 156 #if NTHEAP_PROBE_BASE /* This is never normally defined */
156 /* Try various addresses looking for one the kernel will let us have. */ 157 /* Try various addresses looking for one the kernel will let us have. */