mesa want you to work, so mesa can sleep...

This commit is contained in:
Jonathan Turner 2023-11-29 22:15:34 -05:00
parent 4673d709e1
commit f8ca8e1f74

View File

@ -257,25 +257,25 @@ void begin_output_example() {
umem_head = temp;
umem_head->previous = NULL;
print_memory(umem_head, holes_head);
print_list(umem_head);
print_list(get_holes(umem_head));
print_list(umem_head, false);
print_list(get_holes(umem_head), false);
// Display 3
temp = get_tail(umem_head);
free_node(temp);
print_memory(umem_head, holes_head);
print_list(umem_head);
print_list(get_holes(umem_head));
print_list(umem_head, false);
print_list(get_holes(umem_head), false);
// Display 4
umem_head = add_node( umem_head, 0x23000, 0x1FFF, true, 5);
umem_head = add_node( umem_head, 0x25000, 0x3FFF, true, 6);
print_memory(umem_head, holes_head);
print_list(umem_head);
print_list(get_holes(umem_head));
print_list(umem_head, false);
print_list(get_holes(umem_head), false);
// Display 5
temp = find_id(4);
temp = find_id(umem_head, 4);
node* previous = temp->previous;
previous->next = temp->next;
free_node(temp);
@ -290,7 +290,7 @@ void begin_output_example() {
umem_head = temp;
}
print_memory(umem_head, holes_head);
print_list(umem_head);
print_list(get_holes(umem_head));
print_list(umem_head, false);
print_list(get_holes(umem_head), false);
kprint("Jonathan Turner - S02");
}