Mercurial > hg > xemacs-beta
comparison src/ntheap.c @ 402:5a2589c672dc r21-2-31
Import from CVS: tag r21-2-31
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:14:58 +0200 |
parents | a86b2b5e0111 |
children | 501cfd01ee6d |
comparison
equal
deleted
inserted
replaced
401:e0a2a2be14bf | 402:5a2589c672dc |
---|---|
120 still a pretty decent arena to play in! */ | 120 still a pretty decent arena to play in! */ |
121 | 121 |
122 unsigned long base = 0x01B00000; /* 27MB */ | 122 unsigned long base = 0x01B00000; /* 27MB */ |
123 /* Temporary hack for the non-starting problem - use 28 (256Mb) rather than VALBITS (1Gb) */ | 123 /* Temporary hack for the non-starting problem - use 28 (256Mb) rather than VALBITS (1Gb) */ |
124 unsigned long end = 1 << 28; /* 256MB */ | 124 unsigned long end = 1 << 28; /* 256MB */ |
125 void *ptr; | 125 void *ptr = NULL; |
126 | 126 |
127 #define NTHEAP_PROBE_BASE 1 | 127 #define NTHEAP_PROBE_BASE 1 |
128 #if NTHEAP_PROBE_BASE /* This is never normally defined */ | 128 #if NTHEAP_PROBE_BASE /* This is never normally defined */ |
129 /* Try various addresses looking for one the kernel will let us have. */ | 129 /* Try various addresses looking for one the kernel will let us have. */ |
130 while (!ptr && (base < end)) | 130 while (!ptr && (base < end)) |