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++) {
|
for (int i=0; i < memoryMap.length; i++) {
|
||||||
|
|
||||||
switch (memoryMap.entry[i].type) {
|
switch (memoryMap.entry[i].type) {
|
||||||
|
|
||||||
case AVAILABLE_ZONE: avStr="Available";
|
case AVAILABLE_ZONE: avStr="Available";
|
||||||
break;
|
break;
|
||||||
case RESERVED_ZONE: avStr="Reserved";
|
case RESERVED_ZONE: avStr="Reserved";
|
||||||
|
@ -191,11 +190,9 @@ void MmPrintMemoryMap(void) {
|
||||||
case BADRAM_ZONE: avStr="Bad Ram";
|
case BADRAM_ZONE: avStr="Bad Ram";
|
||||||
break;
|
break;
|
||||||
default:;
|
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,
|
memoryMap.entry[i].addr,
|
||||||
avStr,
|
avStr,
|
||||||
memoryMap.entry[i].length / KB
|
memoryMap.entry[i].length / KB
|
||||||
|
|
Loading…
Reference in New Issue