From 46adaaf3cf7cc853790343dd7f14a42c80078b28 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Sun, 14 Feb 2021 14:48:10 -0500 Subject: includes: include all gnu-efi includes at one place. Signed-off-by: Peter Jones --- include/errors.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/errors.h') diff --git a/include/errors.h b/include/errors.h index 1c6cf528..67d821e0 100644 --- a/include/errors.h +++ b/include/errors.h @@ -3,8 +3,6 @@ #ifndef SHIM_ERRORS_H #define SHIM_ERRORS_H -#include - #ifndef EFI_INCOMPATIBLE_VERSION #define EFI_INCOMPATIBLE_VERSION EFIERR(25) #endif -- cgit v1.2.3 From d197220e834e7915326c6a99e17bafe0dcfb3f77 Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Fri, 4 Oct 2024 11:00:32 -0600 Subject: Backport EFI_HTTP_ERROR status code The define can be dropped when gnu-efi is updated to include de6f9259e8476495c78babbc25250a59de7f3942. Signed-off-by: Dan Nicholson --- include/errors.h | 3 +++ lib/console.c | 1 + 2 files changed, 4 insertions(+) (limited to 'include/errors.h') 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"}, -- cgit v1.2.3