diff options
author | Warner Losh <imp@FreeBSD.org> | 2019-05-06 18:39:27 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2019-05-06 18:39:27 +0000 |
commit | b9e19b077ed54139dd23cc69e65af9fcb9cc8e78 (patch) | |
tree | cad932592593413b5d082ec963be1bdbbe20b2f7 /stand/efi/include | |
parent | f28eb4856d7c9b3711d581095ea304b42023d4f0 (diff) |
Abstract out efi_devpath_to_handle to search for a handle that matches
the desired devpath.
Notes
Notes:
svn path=/head/; revision=347195
Diffstat (limited to 'stand/efi/include')
-rw-r--r-- | stand/efi/include/efilib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stand/efi/include/efilib.h b/stand/efi/include/efilib.h index ebf889375424..154e73af5f5d 100644 --- a/stand/efi/include/efilib.h +++ b/stand/efi/include/efilib.h @@ -95,6 +95,7 @@ UINTN efi_devpath_length(EFI_DEVICE_PATH *); EFI_DEVICE_PATH *efi_name_to_devpath(const char *path); EFI_DEVICE_PATH *efi_name_to_devpath16(CHAR16 *path); void efi_devpath_free(EFI_DEVICE_PATH *dp); +EFI_HANDLE efi_devpath_to_handle(EFI_DEVICE_PATH *path, EFI_HANDLE *handles, unsigned nhandles); int efi_status_to_errno(EFI_STATUS); EFI_STATUS errno_to_efi_status(int errno); |