Don't try to print EFI memeory map if it doesn't exist.

MFC after: 1 week
This commit is contained in:
Michal Meloun 2020-09-27 09:12:36 +00:00
parent ff45b9fc1a
commit 0e417b55d5

View File

@ -1258,7 +1258,8 @@ initarm(struct arm64_bootparams *abp)
strlcpy(kernelname, env, sizeof(kernelname));
if (boothowto & RB_VERBOSE) {
print_efi_map_entries(efihdr);
if (efihdr != NULL)
print_efi_map_entries(efihdr);
physmem_print_tables();
}