aboutsummaryrefslogtreecommitdiff
path: root/src/kernel
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2021-03-11 22:48:10 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2021-03-11 22:48:10 +0200
commit79e11fedd97325ba3dc7546373817b021edd89c7 (patch)
treeb291adc6891b8f51feb28db79c7c94acbee3d35a /src/kernel
parentMap kernel to 0xc000 rather than 0xc010 (diff)
downloadkernel.cpp-79e11fedd97325ba3dc7546373817b021edd89c7.tar.xz
vmm: map multiboot structs
Diffstat (limited to 'src/kernel')
-rw-r--r--src/kernel/dump_multiboot.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/kernel/dump_multiboot.cc b/src/kernel/dump_multiboot.cc
index 35c2874..f190cd3 100644
--- a/src/kernel/dump_multiboot.cc
+++ b/src/kernel/dump_multiboot.cc
@@ -5,8 +5,6 @@ extern "C" void dump_multiboot(uint32_t mb_magic, uint32_t mb_addr) {
printk("multiboot magic: ", uhex{mb_magic}, mb_magic == MULTIBOOT2_BOOTLOADER_MAGIC ? " valid" : " invalid", '\n');
printk("multiboot addr: ", uhex{mb_addr}, !(mb_addr & 7) ? " is aligned" : " is not aligned", '\n');
- return;
-
struct multiboot_tag* tag;
const uint32_t size = *reinterpret_cast<uint32_t*>(mb_addr);
printk("Announced mbi size ", size, '\n');