]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: don't use HandleProtocol
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 24 Jan 2023 19:36:45 +0000 (20:36 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 27 Jan 2023 17:32:00 +0000 (18:32 +0100)
commit7d32eae256f3773f1ba92f9b764f448f48140ebe
tree9b328ecfe34acbe6036c619a2ea5e2d9885f137a
parent62b2cf5f8c12eecfdbc498ceced373401511ff73
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>
lib/efi_loader/efi_boottime.c