diff options
Diffstat (limited to 'src/kernel/mem/alloc.c')
-rw-r--r-- | src/kernel/mem/alloc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kernel/mem/alloc.c b/src/kernel/mem/alloc.c index 843adfc..7270021 100644 --- a/src/kernel/mem/alloc.c +++ b/src/kernel/mem/alloc.c @@ -53,6 +53,8 @@ void mem_init(struct kmain_info *info) { pbitmap_len = pageamt / 8; memset(pbitmap, 0, pbitmap_len); bitmap_mark(pbitmap, pbitmap_len); + + // TODO make boot.c handle this instead bitmap_mark(info->init.at, info->init.size); bitmap_mark(info->fb.at, info->fb.size); } |