svn commit: r336790 - head/stand/efi/loader

Warner Losh imp at FreeBSD.org
Fri Jul 27 22:29:17 UTC 2018


Author: imp
Date: Fri Jul 27 22:29:15 2018
New Revision: 336790
URL: https://svnweb.freebsd.org/changeset/base/336790

Log:
  Add some additional debug to loader.efi
  
  Add some verbose debugging information to the loader's new
  choices. I'll remove these / put them behind a DEBUG define at a later
  time. This is to give additional information if there's any dangling
  edge cases not contemplated by the code. r336789 had most of this
  change, but had the wrong commit message. This refines it slightly.

Modified:
  head/stand/efi/loader/main.c

Modified: head/stand/efi/loader/main.c
==============================================================================
--- head/stand/efi/loader/main.c	Fri Jul 27 22:00:00 2018	(r336789)
+++ head/stand/efi/loader/main.c	Fri Jul 27 22:29:15 2018	(r336790)
@@ -832,7 +832,6 @@ main(int argc, CHAR16 *argv[])
 			}
 		}
 	}
-	printf("howto %#x console set to %s\n", howto, getenv("console"));
 
 	/*
 	 * howto is set now how we want to export the flags to the kernel, so
@@ -869,6 +868,8 @@ main(int argc, CHAR16 *argv[])
 	    ST->Hdr.Revision & 0xffff);
 	printf("   EFI Firmware: %S (rev %d.%02d)\n", ST->FirmwareVendor,
 	    ST->FirmwareRevision >> 16, ST->FirmwareRevision & 0xffff);
+	printf("   Console: %s (%#x)\n", getenv("console"), howto);
+
 
 
 	/* Determine the devpath of our image so we can prefer it. */


More information about the svn-src-all mailing list