summaryrefslogtreecommitdiff
path: root/include/efi_api.h
diff options
context:
space:
mode:
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>2017-07-11 20:06:16 (GMT)
committerAlexander Graf <agraf@suse.de>2017-07-19 12:14:38 (GMT)
commite0549f8a174be5cf9526ec2d072cadc17a54a3e5 (patch)
tree1534be38d14849e77297bca1431e3668f0f66cae /include/efi_api.h
parent69baec67816bd2b3d491134f4509707e89054d48 (diff)
downloadu-boot-fsl-qoriq-e0549f8a174be5cf9526ec2d072cadc17a54a3e5.tar.xz
efi_loader: implement InstallProtocolInterface
efi_install_protocol_interface up to now only returned an error code. The patch implements the UEFI specification for InstallProtocolInterface with the exception that it will not create new handles. 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, 1 insertions, 1 deletions
diff --git a/include/efi_api.h b/include/efi_api.h
index f071b36..42cd47f 100644
--- a/include/efi_api.h
+++ b/include/efi_api.h
@@ -58,7 +58,7 @@ struct efi_boot_services {
efi_status_t (EFIAPI *signal_event)(void *event);
efi_status_t (EFIAPI *close_event)(void *event);
efi_status_t (EFIAPI *check_event)(void *event);
-
+#define EFI_NATIVE_INTERFACE 0x00000000
efi_status_t (EFIAPI *install_protocol_interface)(
void **handle, efi_guid_t *protocol,
int protocol_interface_type, void *protocol_interface);