[feat] Memory manager

This commit is contained in:
2026-05-24 19:36:50 +08:00
Unverified
parent 690782eae9
commit 4fc02d296f
9 changed files with 593 additions and 20 deletions
+9
View File
@@ -0,0 +1,9 @@
#pragma once
#include <efi.h>
void init_heap();
void* kmalloc(UINTN size);
void kfree(void* ptr);
void* kcalloc(UINTN num, UINTN size);
void* krealloc(void* ptr, UINTN new_size);