diff options
author | niruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-06-13 05:16:02 +0000 |
---|---|---|
committer | niruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-06-13 05:16:02 +0000 |
commit | 9de33db48b8e24aa8fa446a6e6983b4e40126fe5 (patch) | |
tree | dd0d5ed4605aa3957be55bb5d72798e4f4dc957e /MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c | |
parent | 77df6ed94ef77191be3d73e2ca7d4d1e88125df9 (diff) | |
download | edk2-platforms-9de33db48b8e24aa8fa446a6e6983b4e40126fe5.tar.xz |
Fix the issue that the GOP produced by ConSplitter requires SetMode before GetMode, otherwise EFI_NOT_STARTED is returned from GetMode.
Signed-off-by: niruiyu
Reviewed-by: xdu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11815 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c')
-rw-r--r-- | MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c index 57704d878e..8b9b2e77fd 100644 --- a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c +++ b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c @@ -16,7 +16,7 @@ never removed. Such design ensures sytem function well during none console
device situation.
-Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -169,7 +169,6 @@ GLOBAL_REMOVE_IF_UNREFERENCED TEXT_OUT_SPLITTER_PRIVATE_DATA mConOut = { (EFI_GRAPHICS_OUTPUT_MODE_INFORMATION *) NULL,
0,
0,
- TRUE,
0,
(TEXT_OUT_AND_GOP_DATA *) NULL,
@@ -225,7 +224,6 @@ GLOBAL_REMOVE_IF_UNREFERENCED TEXT_OUT_SPLITTER_PRIVATE_DATA mStdErr = { (EFI_GRAPHICS_OUTPUT_MODE_INFORMATION *) NULL,
0,
0,
- TRUE,
0,
(TEXT_OUT_AND_GOP_DATA *) NULL,
@@ -2832,9 +2830,7 @@ Done: //
// Force GraphicsOutput mode to be set,
- // regardless whether the console is in EfiConsoleControlScreenGraphics or EfiConsoleControlScreenText mode
//
- Private->HardwareNeedsStarting = TRUE;
Mode = &Private->GraphicsOutputModeBuffer[CurrentIndex];
if ((GraphicsOutput != NULL) &&
|