summaryrefslogtreecommitdiff
path: root/src/kernel/mem/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/mem/alloc.c')
-rw-r--r--src/kernel/mem/alloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/mem/alloc.c b/src/kernel/mem/alloc.c
index 8d6fa5b..e3eaf41 100644
--- a/src/kernel/mem/alloc.c
+++ b/src/kernel/mem/alloc.c
@@ -74,6 +74,7 @@ static void bitmap_set(size_t i, bool v) {
}
void *page_alloc(size_t pages) {
+ // TODO can allocate in the framebuffer
/* i do realize how painfully slow this is */
size_t streak = 0;
for (size_t i = 0; i < page_bitmap_len * 8; i++) {