Display 5
This commit is contained in:
parent
63920789f4
commit
74a2e6ad67
@ -271,19 +271,19 @@ void begin_output_example() {
|
||||
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, false);
|
||||
print_list(get_holes(umem_head), false);
|
||||
|
||||
// Display 5
|
||||
temp = find_id(umem_head, 4);
|
||||
node* previous = temp->previous;
|
||||
previous->next = temp->next;
|
||||
free_node(temp);
|
||||
print_memory(umem_head, holes_head);
|
||||
// print_list(umem_head, false);
|
||||
// print_list(get_holes(umem_head), false);
|
||||
//
|
||||
// // Display 5
|
||||
// temp = find_id(umem_head, 4);
|
||||
// node* previous = temp->previous;
|
||||
// previous->next = temp->next;
|
||||
// free_node(temp);
|
||||
// print_memory(umem_head, holes_head);
|
||||
// // print_list(umem_head, false);
|
||||
// // print_list(get_holes(umem_head), false);
|
||||
//
|
||||
// // Display 6
|
||||
|
||||
// Display 6
|
||||
// while (umem_head != NULL) {
|
||||
// temp = umem_head->next;
|
||||
// free_node(umem_head);
|
||||
|
Reference in New Issue
Block a user