summaryrefslogtreecommitdiff
path: root/include/libk/kmalloc.h
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.org>2025-01-12 01:17:36 -0600
committerDanny Holman <dholman@gymli.org>2025-01-12 01:19:11 -0600
commit95cd78840f0891e60f5ebecc8a8eb4fbaf3c2ebf (patch)
treec8c35347b50477929727fa5be9f5d0f55cbe18fd /include/libk/kmalloc.h
parent5e166f3042a8e7b3031aae4da7006f80caa53ecc (diff)
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 <dholman@gymli.org>
Diffstat (limited to 'include/libk/kmalloc.h')
-rw-r--r--include/libk/kmalloc.h19
1 files changed, 0 insertions, 19 deletions
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 <stdint.h>
-#include <stddef.h>
-
-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