
The implementation of OpenProtocol was incomplete up to now. CloseProtocol and OpenProtocolInformation were not implemented.
The first patch prints a debug message with the protocol GUID in OpenProtocol.
The second patch adds a table of efi_open_protocol_info_entry to keep track of locks to each protocol entry of each handle. This table is maintained in OpenProtocol and CloseProtocol.
The third patch implements OpenProtocolInformation which returns said table. --- v2 Fixed typo in 1st patch which is resubmitted. Added 2nd and 3rd patch. --- Heinrich Schuchardt (3): efi_loader: write protocol GUID in OpenProtocol efi_loader: open_info in OpenProtocol, CloseProtocol efi_loader: implement OpenProtocolInformation
include/efi_loader.h | 15 +++ lib/efi_loader/efi_boottime.c | 257 ++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 262 insertions(+), 10 deletions(-)