efi_loader: avoid using HandleProtocol in helloworld.efi
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 4 Apr 2023 05:17:48 +0000 (07:17 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 8 Apr 2023 05:45:34 +0000 (07:45 +0200)
commitff6ce8da978bbcf283e34c07406085af2359f7b0
tree9ecd566e238bc8ff2b2062aec0c0d535fb48073f
parent5eed4a1ed7849bf651e4628538e9dab3a5e91fbc
efi_loader: avoid using HandleProtocol in helloworld.efi

HandleProtocol() is deprecated and leaves an OpenedProtocolInformation
behind. Use OpenProtocol(GET_PROTOCOL) instead.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
lib/efi_loader/helloworld.c