the bug is in the % modifiers processing

This commit is contained in:
Adrien Bourmault 2019-04-01 20:42:06 +02:00
parent 4b06043e3f
commit 5f58ffb35a
1 changed files with 1 additions and 5 deletions

View File

@ -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