diff options
author | dfr <dfr@FreeBSD.org> | 2001-09-08 12:32:12 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 2001-09-08 12:32:12 +0000 |
commit | 6ac93bff0d0bb146e19307c26edffdbe235dd70f (patch) | |
tree | 74d20255f4658977fa66cabadec304ed6c7e5c9d /sys/boot/efi/loader | |
parent | 72380c0707fe1bc1224d949eb4522d0b292a219d (diff) | |
download | FreeBSD-src-6ac93bff0d0bb146e19307c26edffdbe235dd70f.zip FreeBSD-src-6ac93bff0d0bb146e19307c26edffdbe235dd70f.tar.gz |
Add missing entry to memory type name table and adjust field widths.
Diffstat (limited to 'sys/boot/efi/loader')
-rw-r--r-- | sys/boot/efi/loader/main.c | 5 |
1 files changed, 3 insertions, 2 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, |