printing map
This commit is contained in:
parent
7c0fe01f6a
commit
fef82641d7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue