diff options
| author | Tom Rini <[email protected]> | 2020-08-24 17:28:18 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2020-08-24 17:28:18 -0400 |
| commit | 3c0cec035e5b06b638fb52ccd7383bbd5bcede35 (patch) | |
| tree | 5dfb658a5a4376ab257dfccdbc51f2e301fd0256 /include/efi_loader.h | |
| parent | 1aa3966173fe92fa3c46638ee8eb8b8491f521d6 (diff) | |
| parent | 2b3fbcb59f4174e455a6285eaddf1426ed3e76c5 (diff) | |
Merge tag 'efi-2020-10-rc3-3' of https://gitlab.denx.de/u-boot/custodians/u-boot-efi
Pull request for UEFI sub-system for efi-2020-10-rc3 (3)
The following bug fixes are contained in this pull-request:
* ResetSystem() should no hang if not implemented.
* Device paths in Bootxxxx variables should be verified.
* Use ':' as separator for command setenv -e -i instead of ','.
* Correct comments for functions.
* Update UEFI documentation.
Diffstat (limited to 'include/efi_loader.h')
| -rw-r--r-- | include/efi_loader.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/efi_loader.h b/include/efi_loader.h index 50a17a33ca4..0baa1d2324c 100644 --- a/include/efi_loader.h +++ b/include/efi_loader.h @@ -631,6 +631,8 @@ efi_status_t efi_dp_from_name(const char *dev, const char *devnr, const char *path, struct efi_device_path **device, struct efi_device_path **file); +ssize_t efi_dp_check_length(const struct efi_device_path *dp, + const size_t maxlen); #define EFI_DP_TYPE(_dp, _type, _subtype) \ (((_dp)->type == DEVICE_PATH_TYPE_##_type) && \ |
