Mercurial > hg > xemacs-beta
comparison src/sheap.c @ 269:b2472a1930f2 r20-5b33
Import from CVS: tag r20-5b33
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:27:19 +0200 |
parents | 966663fcf606 |
children | c5d627a313b1 |
comparison
equal
deleted
inserted
replaced
268:6ced69ccd85f | 269:b2472a1930f2 |
---|---|
22 #include <stdio.h> | 22 #include <stdio.h> |
23 #include "lisp.h" | 23 #include "lisp.h" |
24 #include <stddef.h> | 24 #include <stddef.h> |
25 #include "sheap-adjust.h" | 25 #include "sheap-adjust.h" |
26 | 26 |
27 #ifdef MULE | |
28 #define STATIC_HEAP_BASE 0x600000 | 27 #define STATIC_HEAP_BASE 0x600000 |
29 #define STATIC_HEAP_SLOP 0x40000 | 28 #define STATIC_HEAP_SLOP 0x40000 |
30 #else | |
31 #define STATIC_HEAP_BASE 0x500000 | |
32 #define STATIC_HEAP_SLOP 0x40000 | |
33 #endif | |
34 #define STATIC_HEAP_SIZE \ | 29 #define STATIC_HEAP_SIZE \ |
35 (STATIC_HEAP_BASE + SHEAP_ADJUSTMENT + STATIC_HEAP_SLOP) | 30 (STATIC_HEAP_BASE + SHEAP_ADJUSTMENT + STATIC_HEAP_SLOP) |
36 #define BLOCKSIZE (1<<12) | 31 #define BLOCKSIZE (1<<12) |
37 #define ALLOC_UNIT (BLOCKSIZE-1) | 32 #define ALLOC_UNIT (BLOCKSIZE-1) |
38 #define ALLOC_MASK ~((unsigned long)(ALLOC_UNIT)) | 33 #define ALLOC_MASK ~((unsigned long)(ALLOC_UNIT)) |