summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>2001-09-08 12:32:12 +0000
committerdfr <dfr@FreeBSD.org>2001-09-08 12:32:12 +0000
commit6ac93bff0d0bb146e19307c26edffdbe235dd70f (patch)
tree74d20255f4658977fa66cabadec304ed6c7e5c9d
parent72380c0707fe1bc1224d949eb4522d0b292a219d (diff)
downloadFreeBSD-src-6ac93bff0d0bb146e19307c26edffdbe235dd70f.zip
FreeBSD-src-6ac93bff0d0bb146e19307c26edffdbe235dd70f.tar.gz
Add missing entry to memory type name table and adjust field widths.
-rw-r--r--sys/boot/efi/loader/main.c5
-rw-r--r--sys/boot/ia64/efi/main.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/sys/boot/efi/loader/main.c b/sys/boot/efi/loader/main.c
index d40cad8..4578eda 100644
--- a/sys/boot/efi/loader/main.c
+++ b/sys/boot/efi/loader/main.c
@@ -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,
diff --git a/sys/boot/ia64/efi/main.c b/sys/boot/ia64/efi/main.c
index d40cad8..4578eda 100644
--- a/sys/boot/ia64/efi/main.c
+++ b/sys/boot/ia64/efi/main.c
@@ -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,
OpenPOWER on IntegriCloud