external_markbits.h
Go to the documentation of this file.
00001 /*
00002  * external_markbits.h: R.Hanai
00003  */
00004 
00005 #ifndef __EXTERNAL_MARKBITS_H
00006 #define __EXTERNAL_MARKBITS_H
00007 
00008 #ifdef __USE_MARK_BITMAP
00009 #define colored(p) colored_ex(p)
00010 #define blacked(p) blacked_ex(p)
00011 #define marked(p) marked_ex(p)
00012 #define markon(p) markon_ex(p)
00013 #define markoff(p) markoff_ex(p)
00014 #endif 
00015 
00016 #define colored_ex(p) read_bit((unsigned int)p)
00017 #define blacked_ex(p) read_bit((unsigned int)p)
00018 #define marked_ex(p) read_bit((unsigned int)p)
00019 #define markon_ex(p) set_bit((unsigned int)p)
00020 #define markoff_ex(p) /* we do nothing. */
00021 
00022 //#define set_bit(p) (bit_table[(p - hmin)>>2] = 1)
00023 //#define read_bit(p) (bit_table[(p - hmin)>>2])
00024 
00025 extern unsigned int mingcheap, maxgcheap;
00026 extern unsigned int hmin, hmax;
00027 void set_heap_range(unsigned int max, unsigned int min);
00028 void allocate_bit_table();
00029 __inline__ void set_bit(unsigned int addr);
00030 __inline__ char read_bit(unsigned int addr);
00031 void clear_bit_table();
00032 
00033 #endif


euslisp
Author(s): Toshihiro Matsui
autogenerated on Thu Mar 9 2017 04:57:49