[PATCH v2 071/113] efi: add EFI_WARN constants
Ahmad Fatoum
a.fatoum at pengutronix.de
Mon Mar 4 10:59:56 PST 2024
These constants can be returned by some of the EFI loader protocols
implemented later on.
Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
include/efi.h | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/include/efi.h b/include/efi.h
index 1749001adb48..7e8b7f0a49b8 100644
--- a/include/efi.h
+++ b/include/efi.h
@@ -52,6 +52,14 @@
#define EFI_INVALID_LANGUAGE (32 | EFI_ERROR_MASK)
#define EFI_COMPROMISED_DATA (33 | EFI_ERROR_MASK)
+#define EFI_WARN_UNKNOWN_GLYPH 1
+#define EFI_WARN_DELETE_FAILURE 2
+#define EFI_WARN_WRITE_FAILURE 3
+#define EFI_WARN_BUFFER_TOO_SMALL 4
+#define EFI_WARN_STALE_DATA 5
+#define EFI_WARN_FILE_SYSTEM 6
+#define EFI_WARN_RESET_REQUIRED 7
+
#define EFI_ERROR(a) (((signed long) a) < 0)
/*
--
2.39.2
More information about the barebox
mailing list