Maybe?
This commit is contained in:
parent
7448b59251
commit
940e58b89d
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user