Fix warnings in printing memory map
This commit is contained in:
parent
afa0ff1b78
commit
27dad4d3f5
1 changed files with 1 additions and 3 deletions
|
@ -31,9 +31,7 @@ MemoryManager::initialize(const StartupInformation& startupInformation)
|
|||
for (auto it = multiboot->memoryMapBegin(); it != multiboot->memoryMapEnd(); ++it) {
|
||||
auto begin = (*it).base;
|
||||
auto end = begin + (*it).length - 1;
|
||||
kstd::printFormat(" begin = 0x%08lX %08lX, end = 0x%08lX %08lX (%s)\n",
|
||||
u32(begin >> 32), u32(begin & 0xFFFFFFFF),
|
||||
u32(end >> 32), u32(end & 0xFFFFFFFF),
|
||||
kstd::printFormat(" begin = 0x%08llX, end = 0x%08llX (%s)\n", begin, end,
|
||||
(*it).type == 1 ? "available" : "reserved");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue