GETTING SOMEWHERE
This commit is contained in:
parent
4aa1dce600
commit
00731b5eda
@ -36,10 +36,12 @@
|
|||||||
kprint("Stopping the CPU. Bye!\n");
|
kprint("Stopping the CPU. Bye!\n");
|
||||||
asm volatile("hlt");
|
asm volatile("hlt");
|
||||||
} else if (strcmp(input, "ADD") == 0) {
|
} 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) {
|
if (sstrlen(input, 15) > 4) {
|
||||||
kprint("owo");
|
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) {
|
} else if (strcmp(input, "LIST") == 0) {
|
||||||
kprint("***** FORWARD ****\n");
|
kprint("***** FORWARD ****\n");
|
||||||
print_list( umem_head, true);
|
print_list( umem_head, true);
|
||||||
|
Reference in New Issue
Block a user