static BOOLEAN config_entry_add_call(
Config *config,
+ CHAR16 *id,
CHAR16 *title,
EFI_STATUS (*call)(VOID)) {
entry = AllocatePool(sizeof(ConfigEntry));
*entry = (ConfigEntry) {
+ .id = StrDuplicate(id),
.title = StrDuplicate(title),
.call = call,
.no_autoselect = TRUE,
UINT64 osind = (UINT64)*b;
if (osind & EFI_OS_INDICATIONS_BOOT_TO_FW_UI)
- config_entry_add_call(&config, L"Reboot Into Firmware Interface", reboot_into_firmware);
+ config_entry_add_call(&config, L"auto-reboot-into-firmware-ui", L"Reboot Into Firmware Interface", reboot_into_firmware);
FreePool(b);
}