efi_loader: export efi_install_multiple_protocol_interfaces
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 12 Apr 2019 04:59:49 +0000 (06:59 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 12 Apr 2019 20:00:42 +0000 (22:00 +0200)
Export function efi_install_multiple_protocol_interfaces() so that we can
call it in others parts of the UEFI subsystem.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
include/efi_loader.h
lib/efi_loader/efi_boottime.c

index 00b81c6010ff7ee3b4f82469f9997800cc821241..f7bf7328271a9f4dd27444f44953d04b01b7dab6 100644 (file)
@@ -344,6 +344,9 @@ efi_status_t efi_remove_protocol(const efi_handle_t handle,
                                 void *protocol_interface);
 /* Delete all protocols from a handle */
 efi_status_t efi_remove_all_protocols(const efi_handle_t handle);
+/* Install multiple protocol interfaces */
+efi_status_t EFIAPI efi_install_multiple_protocol_interfaces
+                               (efi_handle_t *handle, ...);
 /* Call this to create an event */
 efi_status_t efi_create_event(uint32_t type, efi_uintn_t notify_tpl,
                              void (EFIAPI *notify_function) (
index 31d11b8678b94bbdc46befa7334b659e14c779b4..abc295e392e93338122578a8cdda61290605755e 100644 (file)
@@ -2267,7 +2267,7 @@ out:
  *
  * Return: status code
  */
-static efi_status_t EFIAPI efi_install_multiple_protocol_interfaces
+efi_status_t EFIAPI efi_install_multiple_protocol_interfaces
                                (efi_handle_t *handle, ...)
 {
        EFI_ENTRY("%p", handle);