This commit is contained in:
Jonathan Turner 2023-11-29 17:50:25 -05:00
parent 7448b59251
commit 940e58b89d

View File

@ -154,6 +154,16 @@
}
// void print_holes(node* umem_head) {
//
// }
void print_holes(node* umem_head) {
if (umem_head == NULL) {
kprint("Holes list is Empty");
}
while(umem_head != NULL) {
if (umem_head->base_register - 0x10000 != 0) {
node *hole = add_node( hole, 0x10000, unem_head->base_register-0x10000, true, -1);
print_list(hole);
}
}
}