summaryrefslogtreecommitdiff
path: root/include/efi_api.h
diff options
context:
space:
mode:
authorAKASHI Takahiro <takahiro.akashi@linaro.org>2019-03-27 07:40:32 +0300
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2019-04-07 15:17:06 +0300
commitbc8fc32855d27b2999ed6667af10123f341b3159 (patch)
tree9dce5e4efb45bb99f8c48fba987c74887c2e58bc /include/efi_api.h
parent734d3252af9ceda43fbcfcc088e14911d969cdfc (diff)
downloadu-boot-bc8fc32855d27b2999ed6667af10123f341b3159.tar.xz
efi_loader: boottime: add loaded image device path protocol to image handle
To meet UEFI spec v2.7a section 9.2, we should add EFI_LOADED_IMAGE_DEVICE_PATH_PROTOCOL to image handle, instead of EFI_DEVICE_PATH_PROTOCOL. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'include/efi_api.h')
-rw-r--r--include/efi_api.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/efi_api.h b/include/efi_api.h
index 8647bfa662..5b0a100635 100644
--- a/include/efi_api.h
+++ b/include/efi_api.h
@@ -333,6 +333,10 @@ struct efi_system_table {
EFI_GUID(0x5b1b31a1, 0x9562, 0x11d2, \
0x8e, 0x3f, 0x00, 0xa0, 0xc9, 0x69, 0x72, 0x3b)
+#define LOADED_IMAGE_DEVICE_PATH_GUID \
+ EFI_GUID(0xbc62157e, 0x3e33, 0x4fec, \
+ 0x99, 0x20, 0x2d, 0x3b, 0x36, 0xd7, 0x50, 0xdf)
+
#define EFI_LOADED_IMAGE_PROTOCOL_REVISION 0x1000
struct efi_loaded_image {