aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/lib/memory.c
diff options
context:
space:
mode:
authorMarvin Borner2020-04-29 21:16:56 +0200
committerMarvin Borner2020-04-29 21:16:56 +0200
commit0f54f0de1004c6e9a455c295dc76879ac37a408f (patch)
treeb3a6b086f33689fe887fdfcf80fa4e749b07d119 /src/kernel/lib/memory.c
parent4546c75d685475d8b9f215b588364e1d1bbd0b79 (diff)
Fixed several warnings, errors and dumb bugs
Diffstat (limited to 'src/kernel/lib/memory.c')
-rw-r--r--src/kernel/lib/memory.c6
1 files changed, 3 insertions, 3 deletions
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);
}