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
This commit is contained in:
li-elvin
2011-11-24 01:01:48 +00:00
parent 21d13c6156
commit 32bc1227a5
4 changed files with 51 additions and 44 deletions

View File

@@ -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;