From 5f58ffb35a33148910f0518e766db6883dd076f8 Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Mon, 1 Apr 2019 20:42:06 +0200 Subject: [PATCH] the bug is in the % modifiers processing --- kaleid/kernel/mm/map.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/kaleid/kernel/mm/map.c b/kaleid/kernel/mm/map.c index 96afb64..061f897 100644 --- a/kaleid/kernel/mm/map.c +++ b/kaleid/kernel/mm/map.c @@ -83,10 +83,6 @@ static error_t InitMemoryMap(void) currentEntry = (multiboot_memory_map_t*) ((ulong)currentEntry + currentEntry->size + sizeof(currentEntry->size)); i++; - - //DebugLog("addr high : %x, %x\n", currentEntry->addr_high,(ulong)currentEntry->addr_high); - DebugLog("addr shift %x\n", ((currentEntry->addr_high) << 32)); - } DebugLog("[InitMemoryMap] %d entries detected in the memory map\n", @@ -197,7 +193,7 @@ void MmPrintMemoryMap(void) { default:; } - KernLog("Mem zone : %p\t%s\twith length: %d Kio\n", + KernLog("Mem zone : %lx\t%s\twith length: %d Kio\n", memoryMap.entry[i].addr, avStr, memoryMap.entry[i].length / KB