[PATCH 2/4] lib: uefi: add the status error report for the IP addr conflict (LP: #1356195)

Ivan Hu ivan.hu at canonical.com
Wed Aug 13 08:00:17 UTC 2014


EFI_IP_ADDRESS_CONFLICT is defined on the UEFI spec version 2.4.

Signed-off-by: Ivan Hu <ivan.hu at canonical.com>
---
 src/lib/include/fwts_uefi.h |    1 +
 src/lib/src/fwts_uefi.c     |    1 +
 2 files changed, 2 insertions(+)

diff --git a/src/lib/include/fwts_uefi.h b/src/lib/include/fwts_uefi.h
index 7002a24..2b82168 100644
--- a/src/lib/include/fwts_uefi.h
+++ b/src/lib/include/fwts_uefi.h
@@ -87,6 +87,7 @@ enum {
 #define EFI_END_OF_FILE			(31 | HIGH_BIT_SET)
 #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 FWTS_UEFI_UNSPECIFIED_TIMEZONE 0x07FF
 
diff --git a/src/lib/src/fwts_uefi.c b/src/lib/src/fwts_uefi.c
index 3e34ddd..79524f5 100644
--- a/src/lib/src/fwts_uefi.c
+++ b/src/lib/src/fwts_uefi.c
@@ -458,6 +458,7 @@ 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." },
 	{ ~0, NULL, NULL }
 };
 
-- 
1.7.9.5




More information about the fwts-devel mailing list