svn commit: r292576 - head/sys/boot/efi/boot1

John Baldwin jhb at freebsd.org
Mon Dec 21 23:26:48 UTC 2015


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


More information about the svn-src-all mailing list