diff options
author | dzwdz | 2022-08-15 20:48:23 +0200 |
---|---|---|
committer | dzwdz | 2022-08-15 20:48:23 +0200 |
commit | 3e80780859c4cbe5223ca4329bfd6176f5c2c879 (patch) | |
tree | 92f42d2720d84434276c5382f1b43b8d73124827 /src/kernel/mem | |
parent | fa082df2da6b3be52c66ce0d48c209a3df38115d (diff) |
kernel: port to multiboot2
Diffstat (limited to 'src/kernel/mem')
-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); } |