From 23803769e146ec4d1ebf7b687e22bb3ca598d7c4 Mon Sep 17 00:00:00 2001 From: sbosse Date: Mon, 14 Oct 2024 23:08:37 +0200 Subject: [PATCH] Mon 14 Oct 23:06:38 CEST 2024 --- kernel/kmalloc.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 kernel/kmalloc.h diff --git a/kernel/kmalloc.h b/kernel/kmalloc.h new file mode 100644 index 0000000..d88d961 --- /dev/null +++ b/kernel/kmalloc.h @@ -0,0 +1,17 @@ +/* +Copyright (C) 2016-2019 The University of Notre Dame +This software is distributed under the GNU General Public License. +See the file LICENSE for details. +*/ + +#ifndef KMALLOC_H +#define KMALLOC_H + +void *kmalloc(int length); +void kfree(void *ptr); + +void kmalloc_init(char *start, int length); +void kmalloc_debug(); +int kmalloc_test(); + +#endif