diff options
Diffstat (limited to 'include/kernel/kmalloc.h')
-rw-r--r-- | include/kernel/kmalloc.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/include/kernel/kmalloc.h b/include/kernel/kmalloc.h deleted file mode 100644 index d8debd1..0000000 --- a/include/kernel/kmalloc.h +++ /dev/null @@ -1,18 +0,0 @@ -#ifndef KERNEL_KMALLOC_H -#define KERNEL_KMALLOC_H - -#include <stdint.h> -#include <stddef.h> - -struct mem_block { - uintptr_t start; - size_t size; - int alloc; - struct mem_block *next; -}; - -void kmalloc_init(void); -void* kmalloc(size_t sz); -void kfree(void *ptr); - -#endif |