summaryrefslogtreecommitdiff
path: root/kernel/kmalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/kmalloc.c')
-rw-r--r--kernel/kmalloc.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/kernel/kmalloc.c b/kernel/kmalloc.c
new file mode 100644
index 0000000..4939e05
--- /dev/null
+++ b/kernel/kmalloc.c
@@ -0,0 +1,9 @@
+#include "kmalloc.h"
+#include <stddef.h>
+
+static uint8_t data[1024*1024*8]; //8MB kernel memory managed by kmalloc
+
+uint32_t kmalloc(uint32_t size)
+{
+ return NULL;
+}