Add missing entry to memory type name table and adjust field widths.

This commit is contained in:
dfr 2001-09-08 12:32:12 +00:00
parent 72380c0707
commit 6ac93bff0d
2 changed files with 6 additions and 4 deletions

View File

@ -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,

View File

@ -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,