feat: implemented liballoc for proper malloc
This commit is contained in:
@@ -29,7 +29,7 @@ void init_mmap(multiboot_info_t *multiboot_info) {
|
||||
if (multiboot_info->flags & (1 << 6)) {
|
||||
mmap_init_multiboot((struct multiboot_mmap_entry *) multiboot_info->mmap_addr,
|
||||
multiboot_info->mmap_length / sizeof(struct multiboot_mmap_entry));
|
||||
malloc_init();
|
||||
// malloc_init();
|
||||
// todo fallback on other mechanisms?
|
||||
} else {
|
||||
k_panics("mmap invalid!\n");
|
||||
|
||||
Reference in New Issue
Block a user