summaryrefslogtreecommitdiff
path: root/include/efi_loader.h
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2020-01-10 14:33:59 +0300
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2020-12-10 11:15:33 +0300
commitf9ad240e65ac2f45d7b0acd770b5d79e50c3d92f (patch)
treee5ba0d85640f4ef670d7fb71267704393f85e9c6 /include/efi_loader.h
parent7f8e656338c442c300034bd5119a2b798a1b098c (diff)
downloadu-boot-f9ad240e65ac2f45d7b0acd770b5d79e50c3d92f.tar.xz
efi_loader: make efi_protocol_open() non-static
Provide efi_protocol_open() as library function. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'include/efi_loader.h')
-rw-r--r--include/efi_loader.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/efi_loader.h b/include/efi_loader.h
index 4c6eb8616d..365f3d01dc 100644
--- a/include/efi_loader.h
+++ b/include/efi_loader.h
@@ -500,6 +500,11 @@ efi_status_t efi_search_protocol(const efi_handle_t handle,
efi_status_t efi_add_protocol(const efi_handle_t handle,
const efi_guid_t *protocol,
void *protocol_interface);
+/* Open protocol */
+efi_status_t efi_protocol_open(struct efi_handler *handler,
+ void **protocol_interface, void *agent_handle,
+ void *controller_handle, uint32_t attributes);
+
/* Delete protocol from a handle */
efi_status_t efi_remove_protocol(const efi_handle_t handle,
const efi_guid_t *protocol,