diff options
author | dzwdz | 2021-07-31 14:36:56 +0200 |
---|---|---|
committer | dzwdz | 2021-07-31 14:36:56 +0200 |
commit | 95e33f7f9362aadd9c6169b41437ca478aa3be14 (patch) | |
tree | 29a740559f707455a5b570f0c1f05360e1c6500f /src/kernel/mem.h | |
parent | 9fa85569ba6785576af675d6cb74323bbc937050 (diff) |
kmalloc() and kfree() stubs
Diffstat (limited to 'src/kernel/mem.h')
-rw-r--r-- | src/kernel/mem.h | 3 |
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); |