1 #ifndef _GENCGC_ALLOC_REGION_H_
2 #define _GENCGC_ALLOC_REGION_H_
6 #ifndef LISP_FEATURE_GENCGC
7 #error "gencgc-alloc-region.h included, but LISP_FEATURE_GENCGC not defined"
10 /* Abstract out the data for an allocation region allowing a single
11 * routine to be used for allocation and closing. */
14 /* These two are needed for quick allocation. */
16 void *end_addr
; /* pointer to the byte after the last usable byte */
18 /* These are needed when closing the region. */
19 page_index_t first_page
;
20 page_index_t last_page
;
24 extern struct alloc_region boxed_region
;
25 extern struct alloc_region unboxed_region
;
26 extern generation_index_t from_space
, new_space
;
27 extern struct weak_pointer
*weak_pointers
;
29 #endif /* _GENCGC_ALLOC_REGION_H_ */