Skip to content

Commit

Permalink
Backport EFI_HTTP_ERROR status code
Browse files Browse the repository at this point in the history
The define can be dropped when gnu-efi is updated to include
de6f9259e8476495c78babbc25250a59de7f3942.

Signed-off-by: Dan Nicholson <[email protected]>
  • Loading branch information
dbnicholson authored and vathpela committed Jan 15, 2025
1 parent d8c86b7 commit d197220
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/errors.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@
#ifndef EFI_SECURITY_VIOLATION
#define EFI_SECURITY_VIOLATION EFIERR(26)
#endif
#ifndef EFI_HTTP_ERROR
#define EFI_HTTP_ERROR EFIERR(35)
#endif

#endif /* SHIM_ERRORS_H */
1 change: 1 addition & 0 deletions lib/console.c
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,7 @@ static struct {
{ EFI_PROTOCOL_ERROR, L"Protocol Error"},
{ EFI_INCOMPATIBLE_VERSION, L"Incompatible Version"},
{ EFI_SECURITY_VIOLATION, L"Security Violation"},
{ EFI_HTTP_ERROR, L"HTTP Error"},

// warnings
{ EFI_WARN_UNKNOWN_GLYPH, L"Warning Unknown Glyph"},
Expand Down

0 comments on commit d197220

Please sign in to comment.