]> git.baikalelectronics.ru Git - uboot.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)
commitadefb381a94b02b6bf3e8ecaa1cab19d1297dbe5
treee33556947d0aac81e079ed003b6da0ce20deaeb0
parent8bd01433cf70d850dea0e485c9b3c8120c2857b0
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