summaryrefslogtreecommitdiff
path: root/src/kernel/mem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/mem.h')
-rw-r--r--src/kernel/mem.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/kernel/mem.h b/src/kernel/mem.h
index f608bb8..b17ba30 100644
--- a/src/kernel/mem.h
+++ b/src/kernel/mem.h
@@ -9,3 +9,6 @@ void *page_alloc(size_t pages);
// frees `pages` consecutive pages starting from *first
void page_free(void *first, size_t pages);
+
+void *kmalloc(size_t len);
+void kfree(void *ptr);