From 9897350c52196736cce1a601b172fb5ea14a75c1 Mon Sep 17 00:00:00 2001 From: Masahisa Kojima Date: Sun, 19 Jun 2022 13:55:59 +0900 Subject: efi_loader: expose END device path node This commit exposes the END device path node. Signed-off-by: Masahisa Kojima Reviewed-by: Heinrich Schuchardt --- include/efi_loader.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/efi_loader.h b/include/efi_loader.h index 5b41985244e..3a63a1f75fd 100644 --- a/include/efi_loader.h +++ b/include/efi_loader.h @@ -802,6 +802,9 @@ ssize_t efi_dp_check_length(const struct efi_device_path *dp, (((_dp)->type == DEVICE_PATH_TYPE_##_type) && \ ((_dp)->sub_type == DEVICE_PATH_SUB_TYPE_##_subtype)) +/* template END node: */ +extern const struct efi_device_path END; + /* Indicate supported runtime services */ efi_status_t efi_init_runtime_supported(void); -- cgit v1.3.1