diff options
author | Warner Losh <imp@FreeBSD.org> | 2018-07-23 20:36:50 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2018-07-23 20:36:50 +0000 |
commit | c6c2a73c0c8c11be1e8b96cbbc57e7bf389cb3e2 (patch) | |
tree | 7c24f2462fb1c683c536efcdc3f47cdee687ed84 /stand/efi/include | |
parent | 13850b362fcaa3c75703ce8b88f0b25c9a55b410 (diff) |
Implement efi_devpath_length
Return the total length, in bytes, of the device path (including the
terminating node at the end).
Sponsored by: Netflix
Notes
Notes:
svn path=/head/; revision=336654
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 4745ad04e413..b3db5d2aadfd 100644 --- a/stand/efi/include/efilib.h +++ b/stand/efi/include/efilib.h @@ -90,6 +90,7 @@ bool efi_devpath_is_prefix(EFI_DEVICE_PATH *, EFI_DEVICE_PATH *); CHAR16 *efi_devpath_name(EFI_DEVICE_PATH *); void efi_free_devpath_name(CHAR16 *); EFI_DEVICE_PATH *efi_devpath_to_media_path(EFI_DEVICE_PATH *); +UINTN efi_devpath_length(EFI_DEVICE_PATH *); int efi_status_to_errno(EFI_STATUS); EFI_STATUS errno_to_efi_status(int errno); |