]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: correct notification of protocol installation
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 21 May 2019 16:19:01 +0000 (18:19 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 31 May 2019 21:27:11 +0000 (23:27 +0200)
commitf09cea36ca086c7b5df372bdf38168c2ce5609ca
treee33556947d0aac81e079ed003b6da0ce20deaeb0
parent8a802a2eefd36865eaa3d927d1db7af63bb2d922
efi_loader: correct notification of protocol installation

When a protocol is installed the handle should be queued for the
registration key of each registered event. LocateHandle() should return the
first handle from the queue for the registration key and delete it from the
queue.

Implement the queueing.

Correct the selftest.

With the patch the UEFI SCT tests for LocateHandle() are passed without
failure.

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