From 21a0db0ea83ad7cead353395060562b44b785888 Mon Sep 17 00:00:00 2001 From: Jonathan Turner Date: Wed, 29 Nov 2023 21:54:40 -0500 Subject: [PATCH] maybe? --- Part3/09_memory/kernel/kernel.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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");