aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/platform/efi/efi.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/x86/platform/efi/efi.c b/arch/x86/platform/efi/efi.c
index d3096c0aa941..f0be3d1da3de 100644
--- a/arch/x86/platform/efi/efi.c
+++ b/arch/x86/platform/efi/efi.c
@@ -202,9 +202,12 @@ static void __init print_efi_memmap(void)
202 for (p = memmap.map, i = 0; 202 for (p = memmap.map, i = 0;
203 p < memmap.map_end; 203 p < memmap.map_end;
204 p += memmap.desc_size, i++) { 204 p += memmap.desc_size, i++) {
205 char buf[64];
206
205 md = p; 207 md = p;
206 pr_info("mem%02u: type=%u, attr=0x%llx, range=[0x%016llx-0x%016llx) (%lluMB)\n", 208 pr_info("mem%02u: %s range=[0x%016llx-0x%016llx) (%lluMB)\n",
207 i, md->type, md->attribute, md->phys_addr, 209 i, efi_md_typeattr_format(buf, sizeof(buf), md),
210 md->phys_addr,
208 md->phys_addr + (md->num_pages << EFI_PAGE_SHIFT), 211 md->phys_addr + (md->num_pages << EFI_PAGE_SHIFT),
209 (md->num_pages >> (20 - EFI_PAGE_SHIFT))); 212 (md->num_pages >> (20 - EFI_PAGE_SHIFT)));
210 } 213 }