maybe?
This commit is contained in:
parent
d3a4931491
commit
e756ab6d1f
@ -166,11 +166,11 @@ void print_holes(node* umem_head) {
|
|||||||
hole = add_node( hole, 0x10000, umem_head->base_register-0x10000, true, 1);
|
hole = add_node( hole, 0x10000, umem_head->base_register-0x10000, true, 1);
|
||||||
}
|
}
|
||||||
} else if (umem_head->next == NULL) {
|
} else if (umem_head->next == NULL) {
|
||||||
node previous = umem_head->previous;
|
node *previous = umem_head->previous;
|
||||||
hole = add_node( hole, previous->base_register+previous->limit_register, -1, true, 1);
|
hole = add_node( hole, previous->base_register+previous->limit_register, -1, true, 1);
|
||||||
} else {
|
} else {
|
||||||
node previous = umem_head->previous;
|
node *previous = umem_head->previous;
|
||||||
node next = umem_head->next;
|
node *next = umem_head->next;
|
||||||
hole = add_node( hole, previous->base_register+previous->limit_register, next->base_register, true, 1);
|
hole = add_node( hole, previous->base_register+previous->limit_register, next->base_register, true, 1);
|
||||||
}
|
}
|
||||||
umem_head = umem_head->next;
|
umem_head = umem_head->next;
|
||||||
|
Reference in New Issue
Block a user