printing map

This commit is contained in:
Adrien Bourmault 2019-03-30 19:38:53 +01:00
parent 7c0fe01f6a
commit fef82641d7
1 changed files with 1 additions and 4 deletions

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