diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2019-05-30 20:12:19 +0200 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2019-05-31 23:27:12 +0200 |
commit | a248bc805536337317a5cb9777f420c38724dab4 (patch) | |
tree | f6c8943de46136de008b22433d0b98ca26f1c62a /drivers/rtc/rtc-lib.c | |
parent | dae7ce451c5eaaae98014a4062950cd646f78c2d (diff) | |
download | u-boot-a248bc805536337317a5cb9777f420c38724dab4.tar.gz u-boot-a248bc805536337317a5cb9777f420c38724dab4.tar.xz u-boot-a248bc805536337317a5cb9777f420c38724dab4.zip |
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>
Diffstat (limited to 'drivers/rtc/rtc-lib.c')
0 files changed, 0 insertions, 0 deletions