From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 2CF0F1A1E3C for ; Wed, 31 Aug 2016 01:19:36 -0700 (PDT) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP; 31 Aug 2016 01:19:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,261,1470726000"; d="scan'208";a="1043805811" Received: from shwde7172.ccr.corp.intel.com ([10.239.9.23]) by orsmga002.jf.intel.com with ESMTP; 31 Aug 2016 01:19:34 -0700 From: Liming Gao To: edk2-devel@lists.01.org Cc: Ruiyu Ni Date: Wed, 31 Aug 2016 16:19:30 +0800 Message-Id: <1472631570-30580-1-git-send-email-liming.gao@intel.com> X-Mailer: git-send-email 2.8.0.windows.1 Subject: [Patch] MdeModulePkg UefiBootManagerLib: Rename BootMenuApp to BootManagerMenuApp X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Aug 2016 08:19:36 -0000 Rename local function name BootMenuApp to BootManagerMenuApp to align to other public function name. Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao --- MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c b/MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c index f8a3988..88bb13b 100644 --- a/MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c +++ b/MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c @@ -1530,15 +1530,15 @@ EfiBootManagerGetLoadOptionBuffer ( } /** - Check if it's a Device Path pointing to BootMenuApp. + Check if it's a Device Path pointing to BootManagerMenuApp. @param DevicePath Input device path. - @retval TRUE The device path is BootMenuApp File Device Path. - @retval FALSE The device path is NOT BootMenuApp File Device Path. + @retval TRUE The device path is BootManagerMenuApp File Device Path. + @retval FALSE The device path is NOT BootManagerMenuApp File Device Path. **/ BOOLEAN -BmIsBootMenuAppFilePath ( +BmIsBootManagerMenuAppFilePath ( EFI_DEVICE_PATH_PROTOCOL *DevicePath ) { @@ -1645,7 +1645,7 @@ EfiBootManagerBoot ( // 3. Signal the EVT_SIGNAL_READY_TO_BOOT event when we are about to load and execute // the boot option. // - if (BmIsBootMenuAppFilePath (BootOption->FilePath)) { + if (BmIsBootManagerMenuAppFilePath (BootOption->FilePath)) { DEBUG ((EFI_D_INFO, "[Bds] Booting Boot Manager Menu.\n")); BmStopHotkeyService (NULL, NULL); } else { @@ -2070,9 +2070,9 @@ BmEnumerateBootOptions ( ); for (Index = 0; Index < HandleCount; Index++) { // - // Ignore BootMenuApp. its boot option will be created by BmRegisterBootManagerMenu(). + // Ignore BootManagerMenuApp. its boot option will be created by BmRegisterBootManagerMenu(). // - if (BmIsBootMenuAppFilePath (DevicePathFromHandle (Handles[Index]))) { + if (BmIsBootManagerMenuAppFilePath (DevicePathFromHandle (Handles[Index]))) { continue; } @@ -2212,7 +2212,7 @@ BmRegisterBootManagerMenu ( DevicePath = NULL; Description = NULL; // - // Try to find BootMenuApp from LoadFile protocol + // Try to find BootManagerMenuApp from LoadFile protocol // gBS->LocateHandleBuffer ( ByProtocol, @@ -2222,7 +2222,7 @@ BmRegisterBootManagerMenu ( &Handles ); for (Index = 0; Index < HandleCount; Index++) { - if (BmIsBootMenuAppFilePath (DevicePathFromHandle (Handles[Index]))) { + if (BmIsBootManagerMenuAppFilePath (DevicePathFromHandle (Handles[Index]))) { DevicePath = DuplicateDevicePath (DevicePathFromHandle (Handles[Index])); Description = BmGetBootDescription (Handles[Index]); break; @@ -2331,7 +2331,7 @@ EfiBootManagerGetBootManagerMenu ( BootOptions = EfiBootManagerGetLoadOptions (&BootOptionCount, LoadOptionTypeBoot); for (Index = 0; Index < BootOptionCount; Index++) { - if (BmIsBootMenuAppFilePath (BootOptions[Index].FilePath)) { + if (BmIsBootManagerMenuAppFilePath (BootOptions[Index].FilePath)) { Status = EfiBootManagerInitializeLoadOption ( BootOption, BootOptions[Index].OptionNumber, -- 2.8.0.windows.1