|
@@ -79,7 +79,9 @@ typedef struct heap_s {
|
|
|
/** The allocator structure of dmmlib. */
|
|
|
typedef struct allocator_s {
|
|
|
heap_t heaps[NUM_HEAPS]; /**< The heaps that the allocator manages. */
|
|
|
+#ifndef WITH_MEMORY_SPACE_AWARENESS
|
|
|
bool initialized; /**< Initialization flag of the allocator. */
|
|
|
+#endif /* WITH_MEMORY_SPACE_AWARENESS */
|
|
|
void *border_ptr; /**< Border pointer of the allocator. */
|
|
|
#ifdef WITH_MEMORY_SPACE_AWARENESS
|
|
|
size_t remaining_size; /**< The size of the remaining free space which
|