projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3850e4
)
efi_loader: define all known warning status codes
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Fri, 3 Jan 2020 21:47:19 +0000
(22:47 +0100)
committer
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Tue, 7 Jan 2020 17:08:20 +0000
(18:08 +0100)
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>
include/efi.h
patch
|
blob
|
history
diff --git
a/include/efi.h
b/include/efi.h
index 5f415a99cc9002413ce10f821c273b35e4186c04..e12697a5d5b0113924db550b4720b21697b2729c 100644
(file)
--- 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;