feature: heap command prints the status of the allocator

kprintf: change KERN_DEFAULT to 0
This commit is contained in:
2024-09-22 01:57:27 +02:00
parent deca2b9bfc
commit 283f073124
5 changed files with 26 additions and 25 deletions

View File

@ -35,7 +35,6 @@ void kernel_main(void)
char *str = kalloc(10);
kfree(str);
str = kalloc(10);
show_alloc_mem();
strcpy(str, "Hello world\n");
kprintf("%s", str);
shell_init();