diff options
Diffstat (limited to 'src/kernel/mem.h')
-rw-r--r-- | src/kernel/mem.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kernel/mem.h b/src/kernel/mem.h index efa65d6..f608bb8 100644 --- a/src/kernel/mem.h +++ b/src/kernel/mem.h @@ -1,7 +1,8 @@ #pragma once +#include <kernel/main.h> #include <stddef.h> -void mem_init(); +void mem_init(struct kmain_info *); // allocates `pages` consecutive pages void *page_alloc(size_t pages); |