From d6566113102e852937d0845a528337484ae85f95 Mon Sep 17 00:00:00 2001 From: Masahisa Kojima Date: Sun, 20 Nov 2022 09:21:16 +0900 Subject: eficonfig: expose eficonfig_create_device_path() Following commits are adding support for UEFI variable management via the eficonfig menu. Those functions needs to use eficonfig_create_device_path() to construct the full device path from device path of the volume and file path, so move it out of their static declarations. Signed-off-by: Masahisa Kojima --- include/efi_config.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/efi_config.h b/include/efi_config.h index 064f2efe3f5..934de41e85b 100644 --- a/include/efi_config.h +++ b/include/efi_config.h @@ -99,5 +99,7 @@ efi_status_t eficonfig_append_menu_entry(struct efimenu *efi_menu, char *title, eficonfig_entry_func func, void *data); efi_status_t eficonfig_append_quit_entry(struct efimenu *efi_menu); +struct efi_device_path *eficonfig_create_device_path(struct efi_device_path *dp_volume, + u16 *current_path); #endif -- cgit v1.2.3