diff --git a/Part3/09_memory/kernel/kernel.c b/Part3/09_memory/kernel/kernel.c index 4ea215a..9895332 100644 --- a/Part3/09_memory/kernel/kernel.c +++ b/Part3/09_memory/kernel/kernel.c @@ -235,9 +235,9 @@ node* get_holes(node* umem_head) { } void begin_output_example() { - static u32 delete_id = 0; // static persistent variable for incrementing during test - static node* umem_head = NULL; // static persistent head variable for contiguous block allocations - static node* hole_head = get_holes(umem_head); + node* umem_head = NULL; // static persistent head variable for contiguous block allocations + node* holes_head = NULL; + holes_head = get_holes(emum_head); kprint("Jonathan Turner - S02\n"); kprint("Current Allocation: \n");