mirror of
https://gitlab.os-k.eu/os-k-team/os-k.git
synced 2023-08-25 14:03:10 +02:00
mem_map bug
This commit is contained in:
parent
c1e2eb09c2
commit
090bfc3c8e
@ -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();
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user