From 80b14f9a9941e8beea8f54e32f87ff8c5ad6a2c2 Mon Sep 17 00:00:00 2001 From: "Dong, Eric" Date: Wed, 18 May 2016 14:52:25 +0800 Subject: [PATCH] BootMaintenanceManagerUiLib: Remove invalid keyword "bds" In current code, BootMaintenanceManagerUiLib is not BDS scope. So we remove bds keyword in the function name. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong Reviewed-by: Liming Gao --- .../Library/BootMaintenanceManagerUiLib/BootMaintenance.c | 3 +-- .../BootMaintenanceManagerUiLib/BootMaintenanceManager.h | 3 +-- MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootOption.c | 4 ++-- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c b/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c index 0d54cdffc8..b35e938b40 100644 --- a/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c +++ b/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c @@ -116,8 +116,7 @@ FreeAllMenu ( **/ EFI_STATUS -EFIAPI -BmmBdsSetConsoleMode ( +BmmSetConsoleMode ( BOOLEAN IsSetupMode ) { diff --git a/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManager.h b/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManager.h index b2db0965c0..0665c78d79 100644 --- a/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManager.h +++ b/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManager.h @@ -1143,8 +1143,7 @@ GetTerminalAttribute ( **/ EFI_STATUS -EFIAPI -BmmBdsSetConsoleMode ( +BmmSetConsoleMode ( BOOLEAN IsSetupMode ); diff --git a/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootOption.c b/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootOption.c index 7a014c911b..c660c73145 100644 --- a/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootOption.c +++ b/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootOption.c @@ -881,9 +881,9 @@ BootFromFile ( // gST->ConOut->ClearScreen (gST->ConOut); - BmmBdsSetConsoleMode (FALSE); + BmmSetConsoleMode (FALSE); EfiBootManagerBoot (&BootOption); - BmmBdsSetConsoleMode (TRUE); + BmmSetConsoleMode (TRUE); FreePool(FileName);