Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Dec 2015 15:26:43 -0800
From:      John Baldwin <jhb@freebsd.org>
To:        Ed Maste <emaste@freebsd.org>
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
Message-ID:  <6789662.X7p9Lo7J5l@ralph.baldwin.cx>
In-Reply-To: <201512212242.tBLMg3IH035362@repo.freebsd.org>
References:  <201512212242.tBLMg3IH035362@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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