the bug is in the % modifiers processing
This commit is contained in:
parent
4b06043e3f
commit
5f58ffb35a
|
@ -83,10 +83,6 @@ static error_t InitMemoryMap(void)
|
||||||
currentEntry = (multiboot_memory_map_t*) ((ulong)currentEntry +
|
currentEntry = (multiboot_memory_map_t*) ((ulong)currentEntry +
|
||||||
currentEntry->size + sizeof(currentEntry->size));
|
currentEntry->size + sizeof(currentEntry->size));
|
||||||
i++;
|
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",
|
DebugLog("[InitMemoryMap] %d entries detected in the memory map\n",
|
||||||
|
@ -197,7 +193,7 @@ void MmPrintMemoryMap(void) {
|
||||||
default:;
|
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,
|
memoryMap.entry[i].addr,
|
||||||
avStr,
|
avStr,
|
||||||
memoryMap.entry[i].length / KB
|
memoryMap.entry[i].length / KB
|
||||||
|
|
Loading…
Reference in New Issue