u-boot-brain/lib/efi_loader
Heinrich Schuchardt a248bc8055 efi_loader: correct UninstallProtocolInterface()
When uninstalling a protocol the following steps are needed:
* request all drivers to disconnect
* close protocol for all non-drivers
* check if any open instance of the protocol exists on the handle and
  return EFI_ACCESS_DENIED in this case
* remove the protocol interface

By tort we tested for remaining open protocol instances already after
requesting drivers to disconnect.

With this correction the UEFI SCT II tests for UninstallProtocolInterface()
and ReinstallProtocolInterface are passed.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2019-05-31 23:27:12 +02:00
..
.gitignore lib: gitignore *.elf and *.so generated by efi_loader 2017-01-09 10:30:24 -05:00
efi_acpi.c efi_loader: Install ACPI configuration tables 2018-07-02 09:23:28 +08:00
efi_bootmgr.c efi_loader: bootmgr: print a message when loading from BootNext failed 2019-05-31 23:27:11 +02:00
efi_boottime.c efi_loader: correct UninstallProtocolInterface() 2019-05-31 23:27:12 +02:00
efi_console.c efi_loader: parameter check OutputString 2019-05-19 08:10:10 +02:00
efi_device_path_to_text.c efi_loader: merge adjacent sprintf() 2019-05-19 08:10:10 +02:00
efi_device_path_utilities.c SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
efi_device_path.c efi_loader: check length in CreateDeviceNode() 2019-04-23 00:51:01 +02:00
efi_disk.c efi_loader: consistent naming of protocol GUIDs 2019-04-23 00:37:27 +02:00
efi_file.c efi_loader: enable file SetInfo() 2019-04-07 14:17:06 +02:00
efi_freestanding.c efi_loader: provide freestanding library 2019-02-13 09:40:06 +01:00
efi_gop.c efi_loader: consistent naming of protocol GUIDs 2019-04-23 00:37:27 +02:00
efi_hii_config.c efi_loader: debug output for HII protocols 2019-02-13 09:40:06 +01:00
efi_hii.c efi_loader: endless loop in add_strings_package() 2019-03-20 18:16:53 +01:00
efi_image_loader.c efi_loader: unload applications upon Exit() 2019-05-07 21:10:03 +02:00
efi_memory.c efi_loader: simplify efi_allocate_pages() 2019-05-12 20:54:22 +02:00
efi_net.c efi_loader: parameter checks simple network protocol 2019-05-19 08:10:10 +02:00
efi_root_node.c efi_loader: implement deprecated Unicode collation protocol 2019-05-19 08:10:10 +02:00
efi_runtime.c efi_loader: return values of GetTime() 2019-05-24 18:58:13 +02:00
efi_setup.c efi_loader: clean up UEFI sub-system initialization 2019-05-07 21:10:03 +02:00
efi_smbios.c sandbox: smbios: Update to support sandbox 2018-12-02 21:59:37 +01:00
efi_unicode_collation.c efi_loader: DEL is an illegal file name character 2019-05-24 18:58:13 +02:00
efi_variable.c efi_loader: variable: attributes may not be changed if a variable exists 2019-05-24 18:58:14 +02:00
efi_watchdog.c SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
helloworld.c efi_loader: consistent naming of protocol GUIDs 2019-04-23 00:37:27 +02:00
Kconfig efi_loader: implement deprecated Unicode collation protocol 2019-05-19 08:10:10 +02:00
Makefile efi_loader: rename Unicode collation protocol 2 variables 2019-05-19 08:10:10 +02:00