mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Add missing entry to memory type name table and adjust field widths.
This commit is contained in:
parent
3146b2d65c
commit
9d2535d919
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=83216
@ -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