lisp
c
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
maxgcheap
unsigned int maxgcheap
Definition:
external_markbits.h:25
set_heap_range
void set_heap_range(unsigned int max, unsigned int min)
Definition:
external_markbits.c:15
read_bit
__inline__ char read_bit(unsigned int addr)
Definition:
external_markbits.c:49
min
#define min(x, y)
Definition:
rmflags.c:17
hmin
unsigned int hmin
Definition:
external_markbits.c:11
clear_bit_table
void clear_bit_table()
Definition:
external_markbits.c:67
max
#define max(I1, I2)
Definition:
eustags.c:134
hmax
unsigned int hmax
Definition:
external_markbits.h:26
mingcheap
unsigned int mingcheap
Definition:
external_markbits.c:13
set_bit
__inline__ void set_bit(unsigned int addr)
Definition:
external_markbits.c:37
allocate_bit_table
void allocate_bit_table()
Definition:
external_markbits.c:21
euslisp
Author(s): Toshihiro Matsui
autogenerated on Thu Jun 15 2023 02:06:43