commit | 94d72673cb50280ecbcd8bf4703f5cb12eed600f | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Tue Jan 24 20:36:45 2023 +0100 |
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Fri Jan 27 18:32:00 2023 +0100 |
tree | 9b328ecfe34acbe6036c619a2ea5e2d9885f137a | |
parent | 34e6e7658989ab0612af1c822089c34002f6e086 [diff] |
efi_loader: don't use HandleProtocol HandleProtocol() is deprecrated. According to the UEFI specification it should be implemented as a call to OpenProtocolInterface() with a hard coded agent handle. This implies that we would have to call CloseProtocolInterfaces() after usage with the same handle. Getting rid of an EFI_CALL() is also appreciated. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>