From patchwork Fri Jun 17 08:24:32 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Hu X-Patchwork-Id: 636822 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) by ozlabs.org (Postfix) with ESMTP id 3rWCwY4vZtz9t1l; Fri, 17 Jun 2016 18:24:45 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.76) (envelope-from ) id 1bDp51-0003IM-UK; Fri, 17 Jun 2016 08:24:43 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1bDp4w-00035a-W4 for fwts-devel@lists.ubuntu.com; Fri, 17 Jun 2016 08:24:38 +0000 Received: from [175.41.48.77] (helo=canonical.com) by youngberry.canonical.com with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1bDp4w-0006wE-3g; Fri, 17 Jun 2016 08:24:38 +0000 From: Ivan Hu To: fwts-devel@lists.ubuntu.com Subject: [PATCH] lib: fwts_uefi: update uefi status codes to UEFI 2.6 Date: Fri, 17 Jun 2016 16:24:32 +0800 Message-Id: <1466151872-22718-1-git-send-email-ivan.hu@canonical.com> X-Mailer: git-send-email 2.7.4 X-BeenThere: fwts-devel@lists.ubuntu.com X-Mailman-Version: 2.1.14 Precedence: list List-Id: Firmware Test Suite Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: fwts-devel-bounces@lists.ubuntu.com Sender: fwts-devel-bounces@lists.ubuntu.com Signed-off-by: Ivan Hu Acked-by: Colin Ian King Acked-by: Alex Hung --- 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 } };