ACK: [PATCH] lib: fwts_uefi: update uefi status codes to UEFI 2.6

Alex Hung alex.hung at canonical.com
Fri Jun 17 09:07:25 UTC 2016


On 2016-06-17 04:24 PM, Ivan Hu wrote:
> Signed-off-by: Ivan Hu <ivan.hu at canonical.com>
> ---
>   src/lib/include/fwts_uefi.h | 1 +
>   src/lib/src/fwts_uefi.c     | 3 ++-
>   2 files changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/src/lib/include/fwts_uefi.h b/src/lib/include/fwts_uefi.h
> index 1a6b20b..5c6ef1c 100644
> --- a/src/lib/include/fwts_uefi.h
> +++ b/src/lib/include/fwts_uefi.h
> @@ -88,6 +88,7 @@ enum {
>   #define EFI_INVALID_LANGUAGE		(32 | HIGH_BIT_SET)
>   #define EFI_COMPROMISED_DATA		(33 | HIGH_BIT_SET)
>   #define EFI_IP_ADDRESS_CONFLICT		(34 | HIGH_BIT_SET)
> +#define EFI_HTTP_ERROR			(35 | HIGH_BIT_SET)
>
>   #define FWTS_UEFI_UNSPECIFIED_TIMEZONE 0x07FF
>
> diff --git a/src/lib/src/fwts_uefi.c b/src/lib/src/fwts_uefi.c
> index 18293bb..871188a 100644
> --- a/src/lib/src/fwts_uefi.c
> +++ b/src/lib/src/fwts_uefi.c
> @@ -458,7 +458,8 @@ static uefistatus_info uefistatus_info_table[] = {
>   	{ EFI_END_OF_FILE,		"EFI_END_OF_FILE",		"The end of the file was reached." },
>   	{ EFI_INVALID_LANGUAGE,		"EFI_INVALID_LANGUAGE",		"The language specified was invalid." },
>   	{ EFI_COMPROMISED_DATA,		"EFI_COMPROMISED_DATA",		"The security status of the data is unknown or compromised and the data must be updated or replaced to restore a valid security status." },
> -	{ EFI_IP_ADDRESS_CONFLICT,		"EFI_IP_ADDRESS_CONFLICT",		"There is an address conflict address allocation." },
> +	{ EFI_IP_ADDRESS_CONFLICT,	"EFI_IP_ADDRESS_CONFLICT",	"There is an address conflict address allocation." },
> +	{ EFI_HTTP_ERROR,		"EFI_HTTP_ERROR",		"A HTTP error occurred during the network operation." },
>   	{ ~0, NULL, NULL }
>   };
>
>

Acked-by: Alex Hung <alex.hung at canonical.com>



More information about the fwts-devel mailing list