summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/Console/ConSplitterDxe/ComponentName.c
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2010-04-09 06:04:30 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2010-04-09 06:04:30 +0000
commit76649bf4d80e1d2ed062846c2960292fb63de08d (patch)
tree67d129e3bdc7db5a34fd1969a2dfc52680520ad8 /MdeModulePkg/Universal/Console/ConSplitterDxe/ComponentName.c
parentf43b0774f2a094bed3b71664c39db6515a688289 (diff)
downloadedk2-platforms-76649bf4d80e1d2ed062846c2960292fb63de08d.tar.xz
1.Fixed the bug when retrieved component name by child handle. It should used gEfiConsoleInDeviceGuid, gEfiConsoleOutDeviceGuid instead of gEfiSimpleTextInProtocolGuid and gEfiSimpleTextOutProtocolGuid.
2.Fixed one bug when creating Console Standard error handle. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10350 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Console/ConSplitterDxe/ComponentName.c')
-rw-r--r--MdeModulePkg/Universal/Console/ConSplitterDxe/ComponentName.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/MdeModulePkg/Universal/Console/ConSplitterDxe/ComponentName.c b/MdeModulePkg/Universal/Console/ConSplitterDxe/ComponentName.c
index cc0c40808d..af3d5a218d 100644
--- a/MdeModulePkg/Universal/Console/ConSplitterDxe/ComponentName.c
+++ b/MdeModulePkg/Universal/Console/ConSplitterDxe/ComponentName.c
@@ -1,7 +1,7 @@
/** @file
UEFI Component Name(2) protocol implementation for ConSplitter driver.
-Copyright (c) 2006 - 2008, Intel Corporation. <BR>
+Copyright (c) 2006 - 2010, Intel Corporation. <BR>
All rights reserved. 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
@@ -381,7 +381,7 @@ ConSplitterConInComponentNameGetControllerName (
Status = ConSplitterTestControllerHandles (
ControllerHandle,
gConSplitterConInDriverBinding.DriverBindingHandle,
- &gEfiSimpleTextInProtocolGuid,
+ &gEfiConsoleInDeviceGuid,
ChildHandle,
&gEfiConsoleInDeviceGuid
);
@@ -658,7 +658,7 @@ ConSplitterConOutComponentNameGetControllerName (
Status = ConSplitterTestControllerHandles (
ControllerHandle,
gConSplitterConOutDriverBinding.DriverBindingHandle,
- &gEfiSimpleTextOutProtocolGuid,
+ &gEfiConsoleOutDeviceGuid,
ChildHandle,
&gEfiConsoleOutDeviceGuid
);
@@ -758,7 +758,7 @@ ConSplitterStdErrComponentNameGetControllerName (
Status = ConSplitterTestControllerHandles (
ControllerHandle,
gConSplitterStdErrDriverBinding.DriverBindingHandle,
- &gEfiSimpleTextOutProtocolGuid,
+ &gEfiStandardErrorDeviceGuid,
ChildHandle,
&gEfiStandardErrorDeviceGuid
);