From owner-svn-src-head@freebsd.org Mon Dec 21 23:26:48 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A97BFA4FB83; Mon, 21 Dec 2015 23:26:48 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 852A1115D; Mon, 21 Dec 2015 23:26:48 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from ralph.baldwin.cx (c-73-231-226-104.hsd1.ca.comcast.net [73.231.226.104]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id BABFBB96E; Mon, 21 Dec 2015 18:26:45 -0500 (EST) From: John Baldwin To: Ed Maste Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r292576 - head/sys/boot/efi/boot1 Date: Mon, 21 Dec 2015 15:26:43 -0800 Message-ID: <6789662.X7p9Lo7J5l@ralph.baldwin.cx> User-Agent: KMail/4.14.3 (FreeBSD/10.2-STABLE; KDE/4.14.3; amd64; ; ) In-Reply-To: <201512212242.tBLMg3IH035362@repo.freebsd.org> References: <201512212242.tBLMg3IH035362@repo.freebsd.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Mon, 21 Dec 2015 18:26:45 -0500 (EST) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 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: Mon, 21 Dec 2015 23:26:48 -0000 On Monday, December 21, 2015 10:42:03 PM Ed Maste wrote: > Author: emaste > Date: Mon Dec 21 22:42:03 2015 > New Revision: 292576 > URL: https://svnweb.freebsd.org/changeset/base/292576 > > Log: > boot1.efi: show EFI error number, not full status value > > EFI return values set the high bit to indicate an error. The log > messages changed here are printed only in the case of an error, > so including the error bit is redundant. Also switch to decimal to > match the error definitions (in sys/boot/efi/include/efierr.h). > > MFC after: 1 week > Sponsored by: The FreeBSD Foundation Perhaps it would be useful to have a shared 'EFI_ERROR_NUM()' macro? -- John Baldwin