mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
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>
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user