diff options
| author | Dan Nicholson <dbn@endlessos.org> | 2024-10-04 11:00:32 -0600 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2025-01-15 16:03:55 -0500 |
| commit | d197220e834e7915326c6a99e17bafe0dcfb3f77 (patch) | |
| tree | e4a683b8d5fa3393eafe8411a8e2ce613eb7604c | |
| parent | d8c86b740667544acccad92c06eddbc858808a74 (diff) | |
| download | efi-boot-shim-d197220e834e7915326c6a99e17bafe0dcfb3f77.tar.gz efi-boot-shim-d197220e834e7915326c6a99e17bafe0dcfb3f77.zip | |
Backport EFI_HTTP_ERROR status code
The define can be dropped when gnu-efi is updated to include
de6f9259e8476495c78babbc25250a59de7f3942.
Signed-off-by: Dan Nicholson <dbn@endlessos.org>
| -rw-r--r-- | include/errors.h | 3 | ||||
| -rw-r--r-- | lib/console.c | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/errors.h b/include/errors.h index 67d821e0..eab58453 100644 --- a/include/errors.h +++ b/include/errors.h @@ -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 */ diff --git a/lib/console.c b/lib/console.c index a751f79d..f6038320 100644 --- a/lib/console.c +++ b/lib/console.c @@ -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"}, |
