aboutsummaryrefslogtreecommitdiff
path: root/include/efi.h
diff options
context:
space:
mode:
authorHeinrich Schuchardt2020-01-03 22:47:19 +0100
committerHeinrich Schuchardt2020-01-07 18:08:20 +0100
commit7b31efc54c3fba33d1305a0f9b730472bb0f63eb (patch)
tree18123b67d5accd46fc8f4d48d4d1168e74cdd915 /include/efi.h
parenta3850e40e1bd64f99f91960953003ca31ee6fd0b (diff)
efi_loader: define all known warning status codes
Of all warning status codes up to now only EFI_WARN_DELETE_FAILURE is defined. The patch adds the missing definitions for later usage. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'include/efi.h')
-rw-r--r--include/efi.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/efi.h b/include/efi.h
index 5f415a99cc9..e12697a5d5b 100644
--- a/include/efi.h
+++ b/include/efi.h
@@ -91,7 +91,13 @@ typedef struct {
#define EFI_IP_ADDRESS_CONFLICT (EFI_ERROR_MASK | 34)
#define EFI_HTTP_ERROR (EFI_ERROR_MASK | 35)
-#define EFI_WARN_DELETE_FAILURE 2
+#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
typedef unsigned long efi_status_t;
typedef u64 efi_physical_addr_t;