From 0f54f0de1004c6e9a455c295dc76879ac37a408f Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 29 Apr 2020 21:16:56 +0200 Subject: Fixed several warnings, errors and dumb bugs --- src/kernel/lib/memory.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/kernel/lib/memory.c') diff --git a/src/kernel/lib/memory.c b/src/kernel/lib/memory.c index 819a70f..bda3c1b 100644 --- a/src/kernel/lib/memory.c +++ b/src/kernel/lib/memory.c @@ -57,11 +57,11 @@ uint32_t memory_get_free() void memory_print() { - if (meminfo != NULL) { - // TODO: Fix multiboot mem lower/upper + // TODO: Fix multiboot mem lower/upper + /*if (meminfo != NULL) { info("Mem lower: 0x%x", meminfo->mem_lower); info("Mem upper: 0x%x", meminfo->mem_upper); - } + }*/ info("Total memory found: %dMiB", (memory_get_all() >> 10) + 1); info("Total free memory: %dMiB", (memory_get_free() >> 10) + 1); } -- cgit v1.2.3