summaryrefslogtreecommitdiff
path: root/src/kernel/mem/heap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/mem/heap.h')
-rw-r--r--src/kernel/mem/heap.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/kernel/mem/heap.h b/src/kernel/mem/heap.h
index 39ba37e..8f8cdcf 100644
--- a/src/kernel/mem/heap.h
+++ b/src/kernel/mem/heap.h
@@ -1,6 +1,11 @@
#ifndef DEF_HEAP_H
#define DEF_HEAP_H
+/* The heap is the data structure that permits allocating and freeing memory easily.
+ The functions in this file are only used by mem.c, which provides kmalloc and kfree.
+ The heap algorithm used is the one described here :
+ http://www.jamesmolloy.co.uk/tutorial_html/7.-The%20Heap.html */
+
#include "types.h"
struct heap_header {