summaryrefslogtreecommitdiff
path: root/sys/include/kalloc.h
diff options
context:
space:
mode:
authorstefan <stefan@s00.xyz>2023-04-29 17:37:05 -0400
committerstefan <stefan@s00.xyz>2023-04-29 17:37:05 -0400
commit2a20e3596a446df55cfe4b34b45b4cd8eae594db (patch)
treed64632a8d804a9af9b1cbda49bb9f8d763d93719 /sys/include/kalloc.h
parenta3c174ee4c08d1d5e7a89ce187f52e3c0807a7eb (diff)
downloadsv-2a20e3596a446df55cfe4b34b45b4cd8eae594db.tar.gz
some work on paging
Diffstat (limited to 'sys/include/kalloc.h')
-rw-r--r--sys/include/kalloc.h4
1 files changed, 3 insertions, 1 deletions
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 <stdint.h>
+
void *kalloc(void);
void *kzalloc(void);
void kfree(void *);
-void kalloc_init(size_t);
+void kalloc_init(uintptr_t end);
void walkfree(void);