diff options
author | li-elvin <li-elvin@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-11-24 01:01:48 +0000 |
---|---|---|
committer | li-elvin <li-elvin@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-11-24 01:01:48 +0000 |
commit | 32bc1227a5a75fe086970420f98c91e500fd88cb (patch) | |
tree | 39e990ff9d402c1bf3e593098b17bc5f2db797ec /IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint | |
parent | 21d13c61561c465a4d4cfe0f0d188765fc8ae3b9 (diff) | |
download | edk2-platforms-32bc1227a5a75fe086970420f98c91e500fd88cb.tar.xz |
Update console mode setup to use PcdSetupConOutColumn and PcdSetupConOutRow which are specially for BIOS setup.
Signed-off-by: li-elvin
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12770 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint')
-rw-r--r-- | IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/ConsoleOption.c | 4 | ||||
-rw-r--r-- | IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/Variable.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/ConsoleOption.c b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/ConsoleOption.c index ed42304c2b..ffa88b4d85 100644 --- a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/ConsoleOption.c +++ b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/ConsoleOption.c @@ -1033,8 +1033,8 @@ GetConsoleOutMode ( ConOut = gST->ConOut;
MaxMode = (UINTN) (ConOut->Mode->MaxMode);
- CurrentCol = PcdGet32 (PcdConOutColumn);
- CurrentRow = PcdGet32 (PcdConOutRow);
+ CurrentCol = PcdGet32 (PcdSetupConOutColumn);
+ CurrentRow = PcdGet32 (PcdSetupConOutRow);
for (Mode = 0; Mode < MaxMode; Mode++) {
Status = ConOut->QueryMode (ConOut, Mode, &Col, &Row);
if (!EFI_ERROR(Status)) {
diff --git a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/Variable.c b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/Variable.c index c055537e37..ac7e61496f 100644 --- a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/Variable.c +++ b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/Variable.c @@ -1345,8 +1345,8 @@ Var_UpdateConMode ( Status = gST->ConOut->QueryMode (gST->ConOut, Mode, &(ModeInfo.Column), &(ModeInfo.Row));
if (!EFI_ERROR(Status)) {
- PcdSet32 (PcdConOutColumn, (UINT32) ModeInfo.Column);
- PcdSet32 (PcdConOutRow, (UINT32) ModeInfo.Row);
+ PcdSet32 (PcdSetupConOutColumn, (UINT32) ModeInfo.Column);
+ PcdSet32 (PcdSetupConOutRow, (UINT32) ModeInfo.Row);
}
return EFI_SUCCESS;
|