diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-22 09:13:52 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-22 09:13:52 +0000 |
commit | 0cadafc8822c57fe1482f8f795a920e5b31271a6 (patch) | |
tree | 588ec1036bad45d8e7a077ac04065b8c8a492a8a /MdeModulePkg | |
parent | 8809fb07fb3ee96568a7d9e7019af9549fcf38a6 (diff) | |
download | edk2-0cadafc8822c57fe1482f8f795a920e5b31271a6.zip edk2-0cadafc8822c57fe1482f8f795a920e5b31271a6.tar.gz edk2-0cadafc8822c57fe1482f8f795a920e5b31271a6.tar.bz2 |
Add ConIn device even if SimpleTextInputEx Protocol is not available for backward compatibility.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4192 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c index 93edf82..f100d04 100644 --- a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c +++ b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c @@ -957,6 +957,11 @@ Returns: return Status;
}
+ Status = ConSplitterTextInAddDevice (&mConIn, TextIn);
+ if (EFI_ERROR (Status)) {
+ return Status;
+ }
+
Status = gBS->OpenProtocol (
ControllerHandle,
&gEfiSimpleTextInputExProtocolGuid,
@@ -970,11 +975,8 @@ Returns: }
Status = ConSplitterTextInExAddDevice (&mConIn, TextInEx);
- if (EFI_ERROR (Status)) {
- return Status;
- }
-
- return ConSplitterTextInAddDevice (&mConIn, TextIn);
+
+ return Status;
}
EFI_STATUS
|