diff options
author | li-elvin <li-elvin@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-11-30 06:01:22 +0000 |
---|---|---|
committer | li-elvin <li-elvin@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-11-30 06:01:22 +0000 |
commit | 9381365cf13fcff012e1b31c6b2aafed56f03a67 (patch) | |
tree | cc7523be9e5b46a06106b9882f218300aee98d69 /MdeModulePkg/Universal/Console/TerminalDxe | |
parent | 4a18b92c5f344fe16fca3e2d09dfb107c6acffbc (diff) | |
download | edk2-platforms-9381365cf13fcff012e1b31c6b2aafed56f03a67.tar.xz |
Remove PCD usage for console driver, PcdConOutRow and PcdConOutColumn are current text mode during boot, not console device capability.
Signed-off-by: li-elvin
Reviewed-by: hhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12803 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Console/TerminalDxe')
-rw-r--r-- | MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c | 7 | ||||
-rw-r--r-- | MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf | 2 |
2 files changed, 0 insertions, 9 deletions
diff --git a/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c b/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c index 0934f16301..6a65731aca 100644 --- a/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c +++ b/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c @@ -99,9 +99,7 @@ TERMINAL_CONSOLE_MODE_DATA mTerminalConsoleModeData[] = { {100, 31},
//
// New modes can be added here.
- // The last entry is specific for PcdConOutRow x PcdConOutColumn.
//
- {0, 0}
};
/**
@@ -438,12 +436,7 @@ InitializeTerminalConsoleTextMode ( return EFI_INVALID_PARAMETER;
}
- //
- // Assign the last entry as PcdConOutColumn and PcdConOutRow defined.
- //
Count = sizeof (mTerminalConsoleModeData) / sizeof (TERMINAL_CONSOLE_MODE_DATA);
- mTerminalConsoleModeData[Count - 1].Columns = (UINTN) PcdGet32 (PcdConOutColumn);
- mTerminalConsoleModeData[Count - 1].Rows = (UINTN) PcdGet32 (PcdConOutRow);;
//
// Get defined mode buffer pointer.
diff --git a/MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf b/MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf index 7d67eba81a..d4bd55b4ab 100644 --- a/MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf +++ b/MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf @@ -75,8 +75,6 @@ [Pcd]
gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType
- gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn
- gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow
# [Event]
# ##
|