Mercurial > hg > xemacs-beta
comparison src/sheap.c @ 265:8efd647ea9ca r20-5b31
Import from CVS: tag r20-5b31
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:25:37 +0200 |
parents | 727739f917cb |
children | 966663fcf606 |
comparison
equal
deleted
inserted
replaced
264:682d2a9d41a5 | 265:8efd647ea9ca |
---|---|
24 #include <stddef.h> | 24 #include <stddef.h> |
25 #include "sheap-adjust.h" | 25 #include "sheap-adjust.h" |
26 | 26 |
27 #ifdef MULE | 27 #ifdef MULE |
28 #define STATIC_HEAP_BASE 0x600000 | 28 #define STATIC_HEAP_BASE 0x600000 |
29 #define STATIC_HEAP_SLOP 0x30000 | 29 #define STATIC_HEAP_SLOP 0x40000 |
30 #else | 30 #else |
31 #define STATIC_HEAP_BASE 0x500000 | 31 #define STATIC_HEAP_BASE 0x500000 |
32 #define STATIC_HEAP_SLOP 0x30000 | 32 #define STATIC_HEAP_SLOP 0x40000 |
33 #endif | 33 #endif |
34 #define STATIC_HEAP_SIZE \ | 34 #define STATIC_HEAP_SIZE \ |
35 (STATIC_HEAP_BASE + SHEAP_ADJUSTMENT + STATIC_HEAP_SLOP) | 35 (STATIC_HEAP_BASE + SHEAP_ADJUSTMENT + STATIC_HEAP_SLOP) |
36 #define BLOCKSIZE (1<<12) | 36 #define BLOCKSIZE (1<<12) |
37 #define ALLOC_UNIT (BLOCKSIZE-1) | 37 #define ALLOC_UNIT (BLOCKSIZE-1) |