Date: Fri, 27 Jul 2018 22:29:16 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r336790 - head/stand/efi/loader Message-ID: <201807272229.w6RMTGUH039624@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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. */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807272229.w6RMTGUH039624>