]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: correct HandleProtocol()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 1 Jun 2019 17:29:39 +0000 (19:29 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 1 Jun 2019 20:40:23 +0000 (22:40 +0200)
commitfb99f4475d8efd3362cba32c02d198815603efbe
tree3c842eb7c881203d6aa5dc9b2dfe4b00b6434414
parentaef73a7020f630e21823b3a6328c89b9df1e82b6
efi_loader: correct HandleProtocol()

The UEFI specification requires that when a protocol is opened via
HandleProtocol() the agent handle is the image handle of the EFI firmware
(see chapter on EFI_BOOT_SERVICES.OpenProtocol()).

Let efi_handle_protocol() pass efi_root as agent handle to
efi_open_protocol().

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_boottime.c