|
@@ -48,7 +48,7 @@ void initialize_allocator(allocator_t *allocator) {
|
|
|
maptablenode = (maptable_node_t *) sbrk((int)(12*(sizeof(maptable_node_t))));
|
|
|
#else
|
|
|
if(12*(sizeof(maptable_node_t)) < size) {
|
|
|
- maptablenode = (maptable_node_t *) sbrk((int)(12*(sizeof(maptable_node_t))));
|
|
|
+ maptablenode = (maptable_node_t *) starting_address;
|
|
|
allocator->border_ptr = starting_address + 12*(sizeof(maptable_node_t));
|
|
|
allocator->remaining_size = size - 12*(sizeof(maptable_node_t));
|
|
|
} else {
|