From d65c73fc9edd46f312f7ab61b64e7df2dc95d0bc Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Sat, 28 Aug 2021 14:51:07 +0200 Subject: [PATCH] Memory alloc --- kernel/memory.c | 1 + kernel/memory.h | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 kernel/memory.c create mode 100644 kernel/memory.h diff --git a/kernel/memory.c b/kernel/memory.c new file mode 100644 index 0000000..b31569d --- /dev/null +++ b/kernel/memory.c @@ -0,0 +1 @@ +#include "memory.h" diff --git a/kernel/memory.h b/kernel/memory.h new file mode 100644 index 0000000..b2b140d --- /dev/null +++ b/kernel/memory.h @@ -0,0 +1,2 @@ +char* malloc(unsigned int size); +void mfree(char* p);