efi_loader: refactor efi_open_protocol
efi_open_protocol was implemented to call a protocol specific open function to retrieve the protocol interface. The UEFI specification does not know of such a function. It is not possible to implement InstallProtocolInterface with the current design. With the patch the protocol interface itself is stored in the list of installed protocols of an efi_object instead of an open function. Signed-off-by:Heinrich Schuchardt <xypron.glpk@gmx.de> [agraf: fix efi gop support] Signed-off-by:
Alexander Graf <agraf@suse.de>
Showing
- cmd/bootefi.c 3 additions, 11 deletionscmd/bootefi.c
- include/efi_loader.h 2 additions, 15 deletionsinclude/efi_loader.h
- lib/efi_loader/efi_boottime.c 14 additions, 4 deletionslib/efi_loader/efi_boottime.c
- lib/efi_loader/efi_disk.c 3 additions, 26 deletionslib/efi_loader/efi_disk.c
- lib/efi_loader/efi_gop.c 1 addition, 1 deletionlib/efi_loader/efi_gop.c
- lib/efi_loader/efi_image_loader.c 0 additions, 8 deletionslib/efi_loader/efi_image_loader.c
- lib/efi_loader/efi_net.c 3 additions, 27 deletionslib/efi_loader/efi_net.c
Loading
Please register or sign in to comment