Initial commit

This commit is contained in:
bdbrd 2025-10-22 15:51:24 +02:00
commit cbc51f523e
125 changed files with 34817 additions and 0 deletions

10
src/mm/kmalloc.h Normal file
View file

@ -0,0 +1,10 @@
#include <stdint.h>
void kernel_heap_init();
void heap_free(uint64_t *addr);
uint64_t *heap_alloc();
void *kmalloc(uint64_t size);
void kfree(void *addr);
#define KERNEL_HEAP_SIZE 0x10000000