[PATCH] lib: fwts_uefi: update uefi status codes to UEFI 2.6
Ivan Hu
ivan.hu at canonical.com
Fri Jun 17 08:24:32 UTC 2016
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 }
};
--
2.7.4
More information about the fwts-devel
mailing list