X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fgencgc-alloc-region.h;h=cf03761dbf0701e722cf2dea5e88db006a89297a;hb=e4542bc034db18cf98f005b2dac53a6d7d5c7260;hp=8e9dbed98e2dc98eee394931b6176cabb956192a;hpb=3bb2fb5b9ecdeebecaded4ac6e5af0f653be8867;p=sbcl.git diff --git a/src/runtime/gencgc-alloc-region.h b/src/runtime/gencgc-alloc-region.h index 8e9dbed..cf03761 100644 --- a/src/runtime/gencgc-alloc-region.h +++ b/src/runtime/gencgc-alloc-region.h @@ -1,5 +1,8 @@ #ifndef _GENCGC_ALLOC_REGION_H_ #define _GENCGC_ALLOC_REGION_H_ + +#include "gc.h" + /* Abstract out the data for an allocation region allowing a single * routine to be used for allocation and closing. */ struct alloc_region { @@ -9,14 +12,14 @@ struct alloc_region { void *end_addr; /* pointer to the byte after the last usable byte */ /* These are needed when closing the region. */ - int first_page; - int last_page; + long first_page; + long last_page; void *start_addr; }; extern struct alloc_region boxed_region; extern struct alloc_region unboxed_region; -extern int from_space, new_space; +extern generation_index_t from_space, new_space; extern struct weak_pointer *weak_pointers; extern void *current_region_free_pointer;