diff --git a/Part3/09_memory/kernel/kernel.c b/Part3/09_memory/kernel/kernel.c index 9b71e22..00a529c 100644 --- a/Part3/09_memory/kernel/kernel.c +++ b/Part3/09_memory/kernel/kernel.c @@ -41,8 +41,9 @@ kprint(number); u32 result = digit_conver(number); umem_head = add_node( umem_head, result, 0x100, true, global_id++); + } else { + umem_head = add_node( umem_head, 0x10000, 0x100, true, global_id++); } - umem_head = add_node( umem_head, 0x10000, 0x100, true, global_id++); } else if (strcmp(input, "LIST") == 0) { kprint("***** FORWARD ****\n"); print_list( umem_head, true);