Kernel: Rewrite kmalloc

Kmalloc is now a bitmap allocator with dynamic resizing and we dont need
to allocate 64 MiB static block of memory reserved for kmalloc :^)
This commit is contained in:
2026-05-04 14:36:49 +03:00
parent f293377e31
commit 93e1091252
2 changed files with 237 additions and 357 deletions

View File

@@ -3,8 +3,6 @@
#include <stddef.h>
void kmalloc_initialize();
void kmalloc_dump_info();
void* kmalloc(size_t size);
void* kmalloc(size_t size, size_t align);
void* kmalloc(size_t);
void kfree(void*);