mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
efi_loader: expose END device path node
This commit exposes the END device path node. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
This commit is contained in:
parent
34a026a891
commit
9897350c52
2 changed files with 4 additions and 1 deletions
|
@ -802,6 +802,9 @@ ssize_t efi_dp_check_length(const struct efi_device_path *dp,
|
||||||
(((_dp)->type == DEVICE_PATH_TYPE_##_type) && \
|
(((_dp)->type == DEVICE_PATH_TYPE_##_type) && \
|
||||||
((_dp)->sub_type == DEVICE_PATH_SUB_TYPE_##_subtype))
|
((_dp)->sub_type == DEVICE_PATH_SUB_TYPE_##_subtype))
|
||||||
|
|
||||||
|
/* template END node: */
|
||||||
|
extern const struct efi_device_path END;
|
||||||
|
|
||||||
/* Indicate supported runtime services */
|
/* Indicate supported runtime services */
|
||||||
efi_status_t efi_init_runtime_supported(void);
|
efi_status_t efi_init_runtime_supported(void);
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ const efi_guid_t efi_guid_virtio_dev = U_BOOT_VIRTIO_DEV_GUID;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* template END node: */
|
/* template END node: */
|
||||||
static const struct efi_device_path END = {
|
const struct efi_device_path END = {
|
||||||
.type = DEVICE_PATH_TYPE_END,
|
.type = DEVICE_PATH_TYPE_END,
|
||||||
.sub_type = DEVICE_PATH_SUB_TYPE_END,
|
.sub_type = DEVICE_PATH_SUB_TYPE_END,
|
||||||
.length = sizeof(END),
|
.length = sizeof(END),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue