From 903ec10e6c847f8c2f888837010dcf0e4059cc8c Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Tue, 21 Dec 2021 22:48:30 +0100 Subject: [PATCH] Added very helpful comments --- kernel/memory.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/memory.c b/kernel/memory.c index 7fd295a..20c9030 100644 --- a/kernel/memory.c +++ b/kernel/memory.c @@ -57,6 +57,8 @@ void block_free(uint blockidx) { uint find_free(uint block_count) { // TODO: find a free start block to allocate + // loop through bitmap + // check if range is free } bool check_block_range(uint start, uint end) {