diff options
author | Marvin Borner | 2020-04-17 17:47:36 +0200 |
---|---|---|
committer | Marvin Borner | 2020-04-17 17:47:36 +0200 |
commit | 0aea2cf7d4c53f49e48c272ac7427ab337b476db (patch) | |
tree | 5f473266b41fc64580c8f62be4330732eb22c58e /src/kernel/multiboot.c | |
parent | 1d763a07224504b645aea2f42699722ad0030cfb (diff) |
Added more precise memory measurement
Diffstat (limited to 'src/kernel/multiboot.c')
-rw-r--r-- | src/kernel/multiboot.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/kernel/multiboot.c b/src/kernel/multiboot.c index 6b402fa..2c5fa60 100644 --- a/src/kernel/multiboot.c +++ b/src/kernel/multiboot.c @@ -16,20 +16,22 @@ void multiboot_parse(uint32_t multiboot_address) info("Got cmdline"); break; case MULTIBOOT_TAG_TYPE_BOOT_LOADER_NAME: - info("Got bootloader name: %s", ((struct multiboot_tag_string *) tag)->string); + info("Got bootloader name: %s", + ((struct multiboot_tag_string *)tag)->string); break; case MULTIBOOT_TAG_TYPE_MODULE: info("Got modules"); break; case MULTIBOOT_TAG_TYPE_BASIC_MEMINFO: info("Got memory info"); - memory_init((struct multiboot_tag_basic_meminfo *)tag); + memory_info_init((struct multiboot_tag_basic_meminfo *)tag); break; case MULTIBOOT_TAG_TYPE_BOOTDEV: info("Got boot device"); break; case MULTIBOOT_TAG_TYPE_MMAP: info("Got memory map"); + memory_mmap_init((struct multiboot_tag_mmap *)tag); break; case MULTIBOOT_TAG_TYPE_VBE: info("Got VBE info"); |