diff options
Diffstat (limited to 'src/kernel/mem/alloc.h')
-rw-r--r-- | src/kernel/mem/alloc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/mem/alloc.h b/src/kernel/mem/alloc.h index 14c4361..fa2798a 100644 --- a/src/kernel/mem/alloc.h +++ b/src/kernel/mem/alloc.h @@ -1,11 +1,11 @@ #pragma once #include <kernel/arch/generic.h> -#include <kernel/main.h> #include <stddef.h> extern struct malloc_hdr *malloc_last; -void mem_init(struct kmain_info *); +void mem_init(void *memtop); +void mem_reserve(void *addr, size_t len); void mem_debugprint(void); // allocates `pages` consecutive pages |