}\r
\r
/**\r
- Check if it's a Device Path pointing to BootMenuApp.\r
+ Check if it's a Device Path pointing to BootManagerMenu.\r
\r
@param DevicePath Input device path.\r
\r
- @retval TRUE The device path is BootMenuApp File Device Path.\r
- @retval FALSE The device path is NOT BootMenuApp File Device Path.\r
+ @retval TRUE The device path is BootManagerMenu File Device Path.\r
+ @retval FALSE The device path is NOT BootManagerMenu File Device Path.\r
**/\r
BOOLEAN\r
-BmIsBootMenuAppFilePath (\r
+BmIsBootManagerMenuFilePath (\r
EFI_DEVICE_PATH_PROTOCOL *DevicePath\r
)\r
{\r
// 3. Signal the EVT_SIGNAL_READY_TO_BOOT event when we are about to load and execute\r
// the boot option.\r
//\r
- if (BmIsBootMenuAppFilePath (BootOption->FilePath)) {\r
+ if (BmIsBootManagerMenuFilePath (BootOption->FilePath)) {\r
DEBUG ((EFI_D_INFO, "[Bds] Booting Boot Manager Menu.\n"));\r
BmStopHotkeyService (NULL, NULL);\r
} else {\r
ASSERT (BootOptions != NULL);\r
\r
//\r
- // If LoadFile includes BootMenuApp, its boot attribue will be set to APP and HIDDEN.\r
+ // If LoadFile includes BootManagerMenu, its boot attribue will be set to APP and HIDDEN.\r
//\r
BootAttributes = LOAD_OPTION_ACTIVE;\r
- if (BmIsBootMenuAppFilePath (DevicePathFromHandle (Handles[Index]))) {\r
+ if (BmIsBootManagerMenuFilePath (DevicePathFromHandle (Handles[Index]))) {\r
BootAttributes = LOAD_OPTION_CATEGORY_APP | LOAD_OPTION_ACTIVE | LOAD_OPTION_HIDDEN;\r
}\r
\r
DevicePath = NULL;\r
Description = NULL;\r
//\r
- // Try to find BootMenuApp from LoadFile protocol\r
+ // Try to find BootManagerMenu from LoadFile protocol\r
//\r
gBS->LocateHandleBuffer (\r
ByProtocol,\r
&Handles\r
);\r
for (Index = 0; Index < HandleCount; Index++) {\r
- if (BmIsBootMenuAppFilePath (DevicePathFromHandle (Handles[Index]))) {\r
+ if (BmIsBootManagerMenuFilePath (DevicePathFromHandle (Handles[Index]))) {\r
DevicePath = DuplicateDevicePath (DevicePathFromHandle (Handles[Index]));\r
Description = BmGetBootDescription (Handles[Index]);\r
break;\r
BootOptions = EfiBootManagerGetLoadOptions (&BootOptionCount, LoadOptionTypeBoot);\r
\r
for (Index = 0; Index < BootOptionCount; Index++) {\r
- if (BmIsBootMenuAppFilePath (BootOptions[Index].FilePath)) {\r
+ if (BmIsBootManagerMenuFilePath (BootOptions[Index].FilePath)) {\r
Status = EfiBootManagerInitializeLoadOption (\r
BootOption,\r
BootOptions[Index].OptionNumber,\r