From owner-svn-src-head@freebsd.org Fri Jul 27 22:29:16 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DE5591058F53; Fri, 27 Jul 2018 22:29:16 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8C12C8C66A; Fri, 27 Jul 2018 22:29:16 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 607E91DDF6; Fri, 27 Jul 2018 22:29:16 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w6RMTGHO039625; Fri, 27 Jul 2018 22:29:16 GMT (envelope-from imp@FreeBSD.org) Received: (from imp@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w6RMTGUH039624; Fri, 27 Jul 2018 22:29:16 GMT (envelope-from imp@FreeBSD.org) Message-Id: <201807272229.w6RMTGUH039624@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: imp set sender to imp@FreeBSD.org using -f From: Warner Losh Date: Fri, 27 Jul 2018 22:29:16 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r336790 - head/stand/efi/loader X-SVN-Group: head X-SVN-Commit-Author: imp X-SVN-Commit-Paths: head/stand/efi/loader X-SVN-Commit-Revision: 336790 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2018 22:29:17 -0000 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. */