diff --git a/kaleid/kernel/init/init.c b/kaleid/kernel/init/init.c index 31e46cb..208efb0 100644 --- a/kaleid/kernel/init/init.c +++ b/kaleid/kernel/init/init.c @@ -154,6 +154,7 @@ noreturn void BtStartKern(multiboot_info_t *mbInfo, uint mbMagic) //int i = 0; //while(i < 512) { KernLog("%d\n", i++);} + MmPrintMemoryMap(); PsInitSched(); diff --git a/kaleid/kernel/mm/map.c b/kaleid/kernel/mm/map.c index 3d39401..8738e04 100644 --- a/kaleid/kernel/mm/map.c +++ b/kaleid/kernel/mm/map.c @@ -100,10 +100,10 @@ static error_t InitMemoryMap(void) if (memoryMap.freeRamSize < MINIMUM_RAM_SIZE) return ENOMEM; - KernLog("[InitMemoryMap] Available Ram Size : %u Mio, Used Ram Size : %u Kio\n", + DebugLog("[InitMemoryMap] Available Ram Size : %u Mio, Used Ram Size : %u Kio\n\n", memoryMap.freeRamSize / MB, memoryMap.nonfreeRamSize / KB); - KernLog("[InitMemoryMap] Physical Ram Size : %d Mio\n\n", - (memoryMap.freeRamSize + memoryMap.nonfreeRamSize) / MB); + /*DebugLog("[InitMemoryMap] Physical Ram Size : %d Mio\n\n", + (memoryMap.freeRamSize + memoryMap.nonfreeRamSize) / MB);*/ return EOK; }