Update error/warning codes to 2.10

Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
This commit is contained in:
Callum Farmer 2023-07-09 17:00:39 +01:00 committed by Nigel Croxon
parent b084081593
commit 30bf99b81e
2 changed files with 10 additions and 0 deletions

View File

@ -57,12 +57,17 @@ Revision History
#define EFI_END_OF_FILE EFIERR(31)
#define EFI_INVALID_LANGUAGE EFIERR(32)
#define EFI_COMPROMISED_DATA EFIERR(33)
#define EFI_IP_ADDRESS_CONFLICT EFIERR(34)
#define EFI_HTTP_ERROR EFIERR(35)
#define EFI_WARN_UNKOWN_GLYPH EFIWARN(1)
#define EFI_WARN_UNKNOWN_GLYPH EFIWARN(1)
#define EFI_WARN_DELETE_FAILURE EFIWARN(2)
#define EFI_WARN_WRITE_FAILURE EFIWARN(3)
#define EFI_WARN_BUFFER_TOO_SMALL EFIWARN(4)
#define EFI_WARN_STALE_DATA EFIWARN(5)
#define EFI_WARN_FILE_SYSTEM EFIWARN(6)
#define EFI_WARN_RESET_REQUIRED EFIWARN(7)
#endif

View File

@ -55,12 +55,17 @@ ErrorCodeTable_Type ErrorCodeTable[] = {
{ EFI_END_OF_FILE, L"End of File"},
{ EFI_INVALID_LANGUAGE, L"Invalid Languages"},
{ EFI_COMPROMISED_DATA, L"Compromised Data"},
{ EFI_IP_ADDRESS_CONFLICT, L"IP Address Conflict"},
{ EFI_HTTP_ERROR, L"HTTP Error"},
// warnings
{ EFI_WARN_UNKNOWN_GLYPH, L"Warning Unknown Glyph"},
{ EFI_WARN_DELETE_FAILURE, L"Warning Delete Failure"},
{ EFI_WARN_WRITE_FAILURE, L"Warning Write Failure"},
{ EFI_WARN_BUFFER_TOO_SMALL, L"Warning Buffer Too Small"},
{ EFI_WARN_STALE_DATA, L"Warning Stale Data"},
{ EFI_WARN_FILE_SYSTEM, L"Warning File System"},
{ EFI_WARN_RESET_REQUIRED, L"Warning Reset Required"},
{ 0, NULL}
} ;