Add missing entry to memory type name table and adjust field widths.
This commit is contained in:
parent
72380c0707
commit
6ac93bff0d
@ -155,6 +155,7 @@ command_memmap(int argc, char *argv[])
|
||||
"RuntimeServicesCode",
|
||||
"RuntimeServicesData",
|
||||
"ConventionalMemory",
|
||||
"UnusableMemory",
|
||||
"ACPIReclaimMemory",
|
||||
"ACPIMemoryNVS",
|
||||
"MemoryMappedIO",
|
||||
@ -176,12 +177,12 @@ command_memmap(int argc, char *argv[])
|
||||
}
|
||||
|
||||
ndesc = sz / dsz;
|
||||
printf("%20s %12s %12s %8s %4s\n",
|
||||
printf("%23s %12s %12s %8s %4s\n",
|
||||
"Type", "Physical", "Virtual", "#Pages", "Attr");
|
||||
|
||||
for (i = 0, p = map; i < ndesc;
|
||||
i++, p = NextMemoryDescriptor(p, dsz)) {
|
||||
printf("%20s %012lx %012lx %08lx ",
|
||||
printf("%23s %012lx %012lx %08lx ",
|
||||
types[p->Type],
|
||||
p->PhysicalStart,
|
||||
p->VirtualStart,
|
||||
|
@ -155,6 +155,7 @@ command_memmap(int argc, char *argv[])
|
||||
"RuntimeServicesCode",
|
||||
"RuntimeServicesData",
|
||||
"ConventionalMemory",
|
||||
"UnusableMemory",
|
||||
"ACPIReclaimMemory",
|
||||
"ACPIMemoryNVS",
|
||||
"MemoryMappedIO",
|
||||
@ -176,12 +177,12 @@ command_memmap(int argc, char *argv[])
|
||||
}
|
||||
|
||||
ndesc = sz / dsz;
|
||||
printf("%20s %12s %12s %8s %4s\n",
|
||||
printf("%23s %12s %12s %8s %4s\n",
|
||||
"Type", "Physical", "Virtual", "#Pages", "Attr");
|
||||
|
||||
for (i = 0, p = map; i < ndesc;
|
||||
i++, p = NextMemoryDescriptor(p, dsz)) {
|
||||
printf("%20s %012lx %012lx %08lx ",
|
||||
printf("%23s %012lx %012lx %08lx ",
|
||||
types[p->Type],
|
||||
p->PhysicalStart,
|
||||
p->VirtualStart,
|
||||
|
Loading…
Reference in New Issue
Block a user