diff options
Diffstat (limited to 'kernel/mem.c')
-rw-r--r-- | kernel/mem.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/kernel/mem.c b/kernel/mem.c deleted file mode 100644 index e977f6a..0000000 --- a/kernel/mem.c +++ /dev/null @@ -1,15 +0,0 @@ -#include <kernel/mem.h> -#include <kernel/paging.h> - -extern uintptr_t _kernel_end; -static uintptr_t heap_start = (uintptr_t)&_kernel_end; -static uintptr_t heap_end = (uintptr_t)&_kernel_end; - -void* kmalloc(size_t sz) { - void *tmp = heap_end; - heap_end += sz; - return tmp; -} - -void kfree(void *ptr) { -} |