From 95cd78840f0891e60f5ebecc8a8eb4fbaf3c2ebf Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Sun, 12 Jan 2025 01:17:36 -0600 Subject: PROJECT RESTRUCTURING Move the entire kernel into its own directory. Create new directories for system commands, libraries and other required essentials for a complete Unix-like operating system. Signed-off-by: Danny Holman --- include/libk/kmalloc.h | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 include/libk/kmalloc.h (limited to 'include/libk/kmalloc.h') diff --git a/include/libk/kmalloc.h b/include/libk/kmalloc.h deleted file mode 100644 index 6573d28..0000000 --- a/include/libk/kmalloc.h +++ /dev/null @@ -1,19 +0,0 @@ -#ifndef LIBK_KMALLOC_H -#define LIBK_KMALLOC_H - -#include -#include - -struct mem_block { - void *start; - size_t size; - int alloc; - struct mem_block *next; - struct mem_block *prev; -}; - -void kmalloc_init(void); -void* kmalloc(size_t sz); -void kfree(void *ptr); - -#endif -- cgit v1.2.3