Display 2

This commit is contained in:
Jonathan Turner 2023-11-29 22:19:57 -05:00
parent bba1395439
commit 4c3f3a67c2

View File

@ -250,16 +250,16 @@ void begin_output_example() {
umem_head = add_node( umem_head, 0x15000, 0x7FF, true, 3);
umem_head = add_node( umem_head, 0x22000, 0x1FFF, true, 4);
// // Display 2
// print_memory(umem_head, holes_head);
// node* temp = umem_head->next;
// free_node(umem_head);
// umem_head = temp;
// umem_head->previous = NULL;
// print_memory(umem_head, holes_head);
// // print_list(umem_head, false);
// // print_list(get_holes(umem_head), false);
//
// Display 2
print_memory(umem_head, holes_head);
node* temp = umem_head->next;
free_node(umem_head);
umem_head = temp;
umem_head->previous = NULL;
print_memory(umem_head, holes_head);
// print_list(umem_head, false);
// print_list(get_holes(umem_head), false);
// // Display 3
// temp = get_tail(umem_head);
// free_node(temp);