external_markbits.h
Go to the documentation of this file.
1 /*
2  * external_markbits.h: R.Hanai
3  */
4 
5 #ifndef __EXTERNAL_MARKBITS_H
6 #define __EXTERNAL_MARKBITS_H
7 
8 #ifdef __USE_MARK_BITMAP
9 #define colored(p) colored_ex(p)
10 #define blacked(p) blacked_ex(p)
11 #define marked(p) marked_ex(p)
12 #define markon(p) markon_ex(p)
13 #define markoff(p) markoff_ex(p)
14 #endif
15 
16 #define colored_ex(p) read_bit((unsigned int)p)
17 #define blacked_ex(p) read_bit((unsigned int)p)
18 #define marked_ex(p) read_bit((unsigned int)p)
19 #define markon_ex(p) set_bit((unsigned int)p)
20 #define markoff_ex(p) /* we do nothing. */
21 
22 //#define set_bit(p) (bit_table[(p - hmin)>>2] = 1)
23 //#define read_bit(p) (bit_table[(p - hmin)>>2])
24 
25 extern unsigned int mingcheap, maxgcheap;
26 extern unsigned int hmin, hmax;
27 void set_heap_range(unsigned int max, unsigned int min);
28 void allocate_bit_table();
29 __inline__ void set_bit(unsigned int addr);
30 __inline__ char read_bit(unsigned int addr);
31 void clear_bit_table();
32 
33 #endif
__inline__ void set_bit(unsigned int addr)
void clear_bit_table()
void set_heap_range(unsigned int max, unsigned int min)
#define min(x, y)
Definition: rmflags.c:17
unsigned int hmax
__inline__ char read_bit(unsigned int addr)
unsigned int mingcheap
unsigned int maxgcheap
void allocate_bit_table()
unsigned int hmin
#define max(I1, I2)
Definition: eustags.c:134


euslisp
Author(s): Toshihiro Matsui
autogenerated on Mon Feb 28 2022 22:18:27