summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-10-07 16:18:15 +0300
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-10-10 17:34:25 +0300
commitef1857641b925c49bf0caa8a1b0cc13a75cd77c0 (patch)
treef1f2b7a03ba6b5b0863021f59f252064486581f1 /include
parent56c9f0c44e00f482ed0127123a68b43bf8d96aba (diff)
downloadu-boot-ef1857641b925c49bf0caa8a1b0cc13a75cd77c0.tar.xz
efi_loader: internal CloseProtocol
Allow avoiding using EFI_CALL() when closing a protocol by providing an internal function. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/efi_loader.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/include/efi_loader.h b/include/efi_loader.h
index c70d977298..1bac3f49a3 100644
--- a/include/efi_loader.h
+++ b/include/efi_loader.h
@@ -661,11 +661,10 @@ efi_status_t EFIAPI efi_locate_handle_buffer(
enum efi_locate_search_type search_type,
const efi_guid_t *protocol, void *search_key,
efi_uintn_t *no_handles, efi_handle_t **buffer);
-/* Close an previously opened protocol interface */
-efi_status_t EFIAPI efi_close_protocol(efi_handle_t handle,
- const efi_guid_t *protocol,
- efi_handle_t agent_handle,
- efi_handle_t controller_handle);
+/* Close a previously opened protocol interface */
+efi_status_t efi_close_protocol(efi_handle_t handle, const efi_guid_t *protocol,
+ efi_handle_t agent_handle,
+ efi_handle_t controller_handle);
/* Open a protocol interface */
efi_status_t EFIAPI efi_handle_protocol(efi_handle_t handle,
const efi_guid_t *protocol,