summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMasahisa Kojima <[email protected]>2022-09-12 17:33:51 +0900
committerHeinrich Schuchardt <[email protected]>2022-09-14 08:43:31 +0200
commite34158bc331712dc192e4ce6da86a8c80fe7367d (patch)
tree3260bd305cdfccf797dc7e3166aee5993f49f897 /include
parent87d791423ac69affec43dfb834965adcb0aa02e6 (diff)
eficonfig: add "Edit Boot Option" menu entry
This commit adds the menu entry to edit the existing BOOT#### variable contents. User selects the item from the boot option list, then user can edit the description, file path and optional_data. Note that automatically generated boot option entry by bootmenu to support the removable media device is filtered out and user can not edit the automatically generated entry. Signed-off-by: Masahisa Kojima <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/efi_config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/efi_config.h b/include/efi_config.h
index ea5bc4e1bff..dddffe045e1 100644
--- a/include/efi_config.h
+++ b/include/efi_config.h
@@ -11,6 +11,7 @@
#include <efi_loader.h>
#define EFICONFIG_ENTRY_NUM_MAX 99
+#define EFICONFIG_VOLUME_PATH_MAX 512
#define EFICONFIG_FILE_PATH_MAX 512
#define EFICONFIG_FILE_PATH_BUF_SIZE (EFICONFIG_FILE_PATH_MAX * sizeof(u16))