Mercurial > hg > xemacs-beta
comparison src/ntheap.c @ 359:8e84bee8ddd0 r21-1-9
Import from CVS: tag r21-1-9
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:57:55 +0200 |
parents | c42ec1d1cded |
children | 7347b34c275b |
comparison
equal
deleted
inserted
replaced
358:fed6e0f6a03a | 359:8e84bee8ddd0 |
---|---|
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. */ |