diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2022-03-19 06:35:43 +0100 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2022-03-20 11:03:06 +0100 |
commit | e46ef1db9e2c87d5aa13a04ea2329b8bae7ea9db (patch) | |
tree | 18d38afa21e8337c574a912de9b4adc5392ca95c /include/efi_loader.h | |
parent | c409593d0853da646194b0a3d65c8b45fe7cb6d4 (diff) | |
download | u-boot-e46ef1db9e2c87d5aa13a04ea2329b8bae7ea9db.tar.gz |
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>
Diffstat (limited to 'include/efi_loader.h')
-rw-r--r-- | include/efi_loader.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/efi_loader.h b/include/efi_loader.h index 6271d40125..1ae47a8713 100644 --- a/include/efi_loader.h +++ b/include/efi_loader.h @@ -731,6 +731,7 @@ struct efi_device_path *efi_dp_next(const struct efi_device_path *dp); int efi_dp_match(const struct efi_device_path *a, const struct efi_device_path *b); efi_handle_t efi_dp_find_obj(struct efi_device_path *dp, + const efi_guid_t *guid, struct efi_device_path **rem); /* get size of the first device path instance excluding end node */ efi_uintn_t efi_dp_instance_size(const struct efi_device_path *dp); |