]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: efi_handle_protocol set attributes
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>
Thu, 29 Jun 2017 19:16:19 +0000 (21:16 +0200)
committerAlexander Graf <agraf@suse.de>
Tue, 4 Jul 2017 07:01:23 +0000 (09:01 +0200)
commit6890ce54aee4824f891b0e81a9024df27d4591ee
tree13f7d0d1f24abf5c8f5ca527557b85394bb22e8d
parent36695aef94319a0442d83eaa6d8b6686ee979cb5
efi_loader: efi_handle_protocol set attributes

UEFI spec 2.7 indicates that HandleProtocol can be implemented
by calling OpenProtocol with
attributes = EFI_OPEN_PROTOCOL_BY_HANDLE_PROTOCOL.

Currently we pass attributes = 0 to efi_open_protocol. 0 is not a
valid value when calling OpenProtocol. This does not cause any errors
yet because our implementation of OpenProtocol is incomplete.

We should pass the correct value to enable a fully compliant
implementation of OpenProtocol in the future.

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