1
0
mirror of https://gitlab.os-k.eu/os-k-team/os-k.git synced 2023-08-25 14:03:10 +02:00

printing map

This commit is contained in:
Adrien Bourmault 2019-03-30 19:38:53 +01:00
parent 7c0fe01f6a
commit fef82641d7

View File

@ -179,7 +179,6 @@ void MmPrintMemoryMap(void) {
for (int i=0; i < memoryMap.length; i++) {
switch (memoryMap.entry[i].type) {
case AVAILABLE_ZONE: avStr="Available";
break;
case RESERVED_ZONE: avStr="Reserved";
@ -191,11 +190,9 @@ void MmPrintMemoryMap(void) {
case BADRAM_ZONE: avStr="Bad Ram";
break;
default:;
}
KernLog("Mem zone : %p\t%s\twith length:%dKio\n",
KernLog("Mem zone : %p\t%s\twith length: %d Kio\n",
memoryMap.entry[i].addr,
avStr,
memoryMap.entry[i].length / KB