diff options
| author | Heinrich Schuchardt <[email protected]> | 2024-05-24 14:54:26 +0200 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2024-06-10 11:43:36 +0200 |
| commit | bf03333d09669371ed2ee90a8ccddccc7d8aaa24 (patch) | |
| tree | 00bcfaae206b6b59b24750ef096867019274c8a6 /include | |
| parent | 4f836fb324ba500ecabdba4146c3ca9e1600cdf5 (diff) | |
efi_loader: allow concatenation with contained end node
Allow appending a device-path to a device-path that contains an end node
as separator. We need this feature for creating boot options specifying
kernel, initrd, and dtb.
Signed-off-by: Heinrich Schuchardt <[email protected]>
Reviewed-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/efi_loader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/efi_loader.h b/include/efi_loader.h index 9600941aa32..ddf2e41a95c 100644 --- a/include/efi_loader.h +++ b/include/efi_loader.h @@ -946,7 +946,7 @@ struct efi_device_path *efi_dp_from_lo(struct efi_load_option *lo, const efi_guid_t *guid); struct efi_device_path *efi_dp_concat(const struct efi_device_path *dp1, const struct efi_device_path *dp2, - bool split_end_node); + size_t split_end_node); struct efi_device_path *search_gpt_dp_node(struct efi_device_path *device_path); efi_status_t efi_deserialize_load_option(struct efi_load_option *lo, u8 *data, efi_uintn_t *size); |
