efi_loader: efi_dp_find_obj() add protocol check
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 19 Mar 2022 05:35:43 +0000 (06:35 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 20 Mar 2022 10:03:06 +0000 (11:03 +0100)
commite46ef1db9e2c87d5aa13a04ea2329b8bae7ea9db
tree18d38afa21e8337c574a912de9b4adc5392ca95c
parentc409593d0853da646194b0a3d65c8b45fe7cb6d4
efi_loader: efi_dp_find_obj() add protocol check

Let function efi_dp_find_obj() additionally check if a given protocol is
installed on the handle relating to the device-path.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
include/efi_loader.h
lib/efi_loader/efi_boottime.c
lib/efi_loader/efi_capsule.c
lib/efi_loader/efi_device_path.c
lib/efi_loader/efi_disk.c