Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Sep 2020 09:12:36 +0000 (UTC)
From:      Michal Meloun <mmel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r366192 - head/sys/arm64/arm64
Message-ID:  <202009270912.08R9Cao3056422@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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();
 	}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009270912.08R9Cao3056422>