diff options
| author | Masahisa Kojima <[email protected]> | 2022-11-20 09:21:14 +0900 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2022-11-22 12:00:44 +0100 |
| commit | 8961e93e165566a3d5e46b81f3a25fbf4b06cb1f (patch) | |
| tree | 4f389df6d324d86af0295fc85552a20c13fb724f /include | |
| parent | a84040ab4615cd6cd7f8a888e56f9befb0a97c65 (diff) | |
eficonfig: expose append entry function
Following commits are adding support for UEFI variable management
via the eficonfig menu. Those functions needs to use
append_entry() and append_quit_entry() to construct the
menu, so move them out of their static declarations.
Signed-off-by: Masahisa Kojima <[email protected]>
Reviewed-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/efi_config.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/efi_config.h b/include/efi_config.h index cc6aa513934..064f2efe3f5 100644 --- a/include/efi_config.h +++ b/include/efi_config.h @@ -95,4 +95,9 @@ efi_status_t eficonfig_get_unused_bootoption(u16 *buf, efi_status_t eficonfig_append_bootorder(u16 index); efi_status_t eficonfig_generate_media_device_boot_option(void); +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); + #endif |
