From dad608335f432ce7a30a7a0d5496546254633bba Mon Sep 17 00:00:00 2001 From: vanjeff Date: Tue, 10 Mar 2009 03:10:15 +0000 Subject: 1. retried PrimaryConsoleInDeviceGuid, PrimaryConsoleOutDeviceGuid and PrimaryStandardErrorDeviceGuid. Consplitter will not install these protocols any more. 2. added logic in Bds to check console handles in System table, if no console handle assigned. Bds module will fill these handles in system table accordingly. 3. fixed one bug before call ConsoleControl->SetMode in FrontPage.c. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7841 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c | 10 ---------- MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.h | 3 --- .../Universal/Console/ConSplitterDxe/ConSplitterDxe.inf | 4 +--- 3 files changed, 1 insertion(+), 16 deletions(-) (limited to 'MdeModulePkg/Universal/Console/ConSplitterDxe') diff --git a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c index 7650ce4b6d..04ea719e59 100644 --- a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c +++ b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c @@ -429,8 +429,6 @@ ConSplitterDriverEntry( &mStdErr.VirtualHandle, &gEfiSimpleTextOutProtocolGuid, &mStdErr.TextOut, - &gEfiPrimaryStandardErrorDeviceGuid, - NULL, NULL ); } @@ -449,8 +447,6 @@ ConSplitterDriverEntry( &mConIn.SimplePointer, &gEfiAbsolutePointerProtocolGuid, &mConIn.AbsolutePointer, - &gEfiPrimaryConsoleInDeviceGuid, - NULL, NULL ); if (!EFI_ERROR (Status)) { @@ -480,8 +476,6 @@ ConSplitterDriverEntry( &mConOut.UgaDraw, &gEfiConsoleControlProtocolGuid, &mConOut.ConsoleControl, - &gEfiPrimaryConsoleOutDeviceGuid, - NULL, NULL ); } else if (!FeaturePcdGet (PcdConOutUgaSupport)) { @@ -497,8 +491,6 @@ ConSplitterDriverEntry( &mConOut.GraphicsOutput, &gEfiConsoleControlProtocolGuid, &mConOut.ConsoleControl, - &gEfiPrimaryConsoleOutDeviceGuid, - NULL, NULL ); } else { @@ -516,8 +508,6 @@ ConSplitterDriverEntry( &mConOut.UgaDraw, &gEfiConsoleControlProtocolGuid, &mConOut.ConsoleControl, - &gEfiPrimaryConsoleOutDeviceGuid, - NULL, NULL ); } diff --git a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.h b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.h index 8c505740c3..0069405242 100644 --- a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.h +++ b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.h @@ -29,9 +29,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include #include -#include -#include -#include #include #include #include diff --git a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf index 730149d6c0..fcb42475f1 100644 --- a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf +++ b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf @@ -73,9 +73,7 @@ gEfiConsoleInDeviceGuid ## SOMETIMES_CONSUMES gEfiStandardErrorDeviceGuid ## SOMETIMES_CONSUMES gEfiConsoleOutDeviceGuid ## SOMETIMES_CONSUMES - gEfiPrimaryConsoleOutDeviceGuid ## PRODUCES - gEfiPrimaryConsoleInDeviceGuid ## PRODUCES - gEfiPrimaryStandardErrorDeviceGuid ## PRODUCES + [Protocols] gEfiConsoleControlProtocolGuid ## PRODUCES -- cgit v1.2.3