GETTING SOMEWHERE

This commit is contained in:
Jonathan Turner 2023-11-29 08:24:13 -05:00
parent 4aa1dce600
commit 00731b5eda

View File

@ -36,10 +36,12 @@
kprint("Stopping the CPU. Bye!\n");
asm volatile("hlt");
} else if (strcmp(input, "ADD") == 0) {
umem_head = add_node( umem_head, 0x10000, 0x100, true, global_id++);
} else if (strcmp(input, "ADD", 3) == 0) {
if (sstrlen(input, 15) > 4) {
kprint("owo");
}
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);