summaryrefslogtreecommitdiff
path: root/include/efi_api.h
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2018-07-05 08:17:58 +0200
committerAlexander Graf <agraf@suse.de>2018-07-25 14:59:44 +0200
commit95147313a98c2403589c6bd9a6768c657442e16c (patch)
tree871e5a76a40014ee54c81deb7d1eeeff5d5bf378 /include/efi_api.h
parentdf76431b11396b940b5aa9b25edd5b0a33b18911 (diff)
efi_loader: set revision in loaded image protocol
The revision number has to be set in the loaded image protocol. The problem was detected by running the SCT in Protocol/LoadedImage/BlackBoxTest/LoadedImageBBTestMain.c:890 Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include/efi_api.h')
-rw-r--r--include/efi_api.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/efi_api.h b/include/efi_api.h
index 0c3dd3cdd4..53798d5449 100644
--- a/include/efi_api.h
+++ b/include/efi_api.h
@@ -318,6 +318,8 @@ struct efi_system_table {
EFI_GUID(0x5b1b31a1, 0x9562, 0x11d2, \
0x8e, 0x3f, 0x00, 0xa0, 0xc9, 0x69, 0x72, 0x3b)
+#define EFI_LOADED_IMAGE_PROTOCOL_REVISION 0x1000
+
struct efi_loaded_image {
u32 revision;
void *parent_handle;