svn commit: r366192 - head/sys/arm64/arm64
Michal Meloun
mmel at FreeBSD.org
Sun Sep 27 09:12:37 UTC 2020
Author: mmel
Date: Sun Sep 27 09:12:36 2020
New Revision: 366192
URL: https://svnweb.freebsd.org/changeset/base/366192
Log:
Don't try to print EFI memeory map if it doesn't exist.
MFC after: 1 week
Modified:
head/sys/arm64/arm64/machdep.c
Modified: head/sys/arm64/arm64/machdep.c
==============================================================================
--- head/sys/arm64/arm64/machdep.c Sun Sep 27 08:39:38 2020 (r366191)
+++ head/sys/arm64/arm64/machdep.c Sun Sep 27 09:12:36 2020 (r366192)
@@ -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();
}
More information about the svn-src-all
mailing list