]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg UefiBootManagerLib: Rename BootMenuApp to BootManagerMenu
authorLiming Gao <liming.gao@intel.com>
Thu, 1 Sep 2016 05:30:13 +0000 (13:30 +0800)
committerLiming Gao <liming.gao@intel.com>
Fri, 2 Sep 2016 07:45:54 +0000 (15:45 +0800)
Rename local function name BootMenuApp to BootManagerMenu to align to
other public function name.

In V2, use "BootManagerMenu" instead of "BootMenuApp".

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Sunny Wang <sunnywang@hpe.com>
MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c

index ecd0ae3822d05b26c862149f4b5813d304ca6a46..fe09a041cf26ff22f8e806d3ce7937106d940494 100644 (file)
@@ -1530,15 +1530,15 @@ EfiBootManagerGetLoadOptionBuffer (
 }\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
@@ -1645,7 +1645,7 @@ EfiBootManagerBoot (
   // 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
@@ -2080,10 +2080,10 @@ BmEnumerateBootOptions (
     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
@@ -2215,7 +2215,7 @@ BmRegisterBootManagerMenu (
   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
@@ -2225,7 +2225,7 @@ BmRegisterBootManagerMenu (
          &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
@@ -2334,7 +2334,7 @@ EfiBootManagerGetBootManagerMenu (
   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