diff options
author | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-03-10 03:10:15 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-03-10 03:10:15 +0000 |
commit | dad608335f432ce7a30a7a0d5496546254633bba (patch) | |
tree | b3717cb3d50d58eeba69e85b6230345456887c05 /MdeModulePkg/Universal/Console | |
parent | 9dca4c66c26488371c0ebaa1701dfa35377ff067 (diff) | |
download | edk2-platforms-dad608335f432ce7a30a7a0d5496546254633bba.tar.xz |
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
Diffstat (limited to 'MdeModulePkg/Universal/Console')
3 files changed, 1 insertions, 16 deletions
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 <Protocol/GraphicsOutput.h>
#include <Protocol/UgaDraw.h>
-#include <Guid/PrimaryStandardErrorDevice.h>
-#include <Guid/PrimaryConsoleOutDevice.h>
-#include <Guid/PrimaryConsoleInDevice.h>
#include <Guid/ConsoleInDevice.h>
#include <Guid/StandardErrorDevice.h>
#include <Guid/ConsoleOutDevice.h>
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
|