From 95e33f7f9362aadd9c6169b41437ca478aa3be14 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sat, 31 Jul 2021 14:36:56 +0200 Subject: kmalloc() and kfree() stubs --- src/kernel/mem.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/kernel/mem.h') 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); -- cgit v1.2.3