From 2a20e3596a446df55cfe4b34b45b4cd8eae594db Mon Sep 17 00:00:00 2001 From: stefan Date: Sat, 29 Apr 2023 17:37:05 -0400 Subject: some work on paging --- sys/include/kalloc.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/include/kalloc.h') diff --git a/sys/include/kalloc.h b/sys/include/kalloc.h index 5553d94..d77eae5 100644 --- a/sys/include/kalloc.h +++ b/sys/include/kalloc.h @@ -1,13 +1,15 @@ #ifndef _KALLOC_H #define _KALLOC_H +#include + void *kalloc(void); void *kzalloc(void); void kfree(void *); -void kalloc_init(size_t); +void kalloc_init(uintptr_t end); void walkfree(void); -- cgit v1.2.3