Cc: Liming Gao <liming....@intel.com>
Cc: Eric Dong <eric.d...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan...@intel.com>
Reviewed-by: Eric Dong <eric.d...@intel.com>
---
 MdeModulePkg/Library/BootManagerUiLib/BootManager.c        | 6 +++---
 MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf | 8 ++++----
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/MdeModulePkg/Library/BootManagerUiLib/BootManager.c 
b/MdeModulePkg/Library/BootManagerUiLib/BootManager.c
index d2494d8..3ca3e74 100644
--- a/MdeModulePkg/Library/BootManagerUiLib/BootManager.c
+++ b/MdeModulePkg/Library/BootManagerUiLib/BootManager.c
@@ -743,11 +743,11 @@ BootManagerCallback (
   @retval  Other        Return error status.
 
 **/
 EFI_STATUS
 EFIAPI
-BootManagerLibConstructor (
+BootManagerUiLibConstructor (
   IN EFI_HANDLE                            ImageHandle,
   IN EFI_SYSTEM_TABLE                      *SystemTable
   )
 {
   EFI_STATUS                     Status;
@@ -771,11 +771,11 @@ BootManagerLibConstructor (
   //
   gBootManagerPrivate.HiiHandle = HiiAddPackages (
                                     &mBootManagerGuid,
                                     gBootManagerPrivate.DriverHandle,
                                     BootManagerVfrBin,
-                                    BootManagerLibStrings,
+                                    BootManagerUiLibStrings,
                                     NULL
                                     );
   ASSERT (gBootManagerPrivate.HiiHandle != NULL);
 
 
@@ -790,11 +790,11 @@ BootManagerLibConstructor (
 
   @retval EFI_SUCCESS           The image has been unloaded.
 **/
 EFI_STATUS
 EFIAPI
-BootManagerLibDestructor (
+BootManagerUiLibDestructor (
   IN EFI_HANDLE                            ImageHandle,
   IN EFI_SYSTEM_TABLE                      *SystemTable
   )
 {
   EFI_STATUS    Status;
diff --git a/MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf 
b/MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
index 8930414..c5e1693 100644
--- a/MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
+++ b/MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
@@ -11,18 +11,18 @@
 #  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR 
IMPLIED.
 #
 ##
 [Defines]
   INF_VERSION                    = 0x00010005
-  BASE_NAME                      = BootManagerLib
-  MODULE_UNI_FILE                = BootManagerLib.uni
+  BASE_NAME                      = BootManagerUiLib
+  MODULE_UNI_FILE                = BootManagerUiLib.uni
   FILE_GUID                      = CCB2DCE1-4FC8-41CB-88C5-D349E134C9FC
   MODULE_TYPE                    = DXE_DRIVER
   VERSION_STRING                 = 1.0
   LIBRARY_CLASS                  = NULL|DXE_DRIVER UEFI_APPLICATION
-  CONSTRUCTOR                    = BootManagerLibConstructor
-  DESTRUCTOR                     = BootManagerLibDestructor
+  CONSTRUCTOR                    = BootManagerUiLibConstructor
+  DESTRUCTOR                     = BootManagerUiLibDestructor
 #
 # The following information is for reference only and not required by the 
build tools.
 #
 #  VALID_ARCHITECTURES           = IA32 X64 IPF EBC
 #
-- 
1.9.5.msysgit.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to