mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
8809fb07fb
commit
0cadafc882
|
@ -957,6 +957,11 @@ Returns:
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Status = ConSplitterTextInAddDevice (&mConIn, TextIn);
|
||||||
|
if (EFI_ERROR (Status)) {
|
||||||
|
return Status;
|
||||||
|
}
|
||||||
|
|
||||||
Status = gBS->OpenProtocol (
|
Status = gBS->OpenProtocol (
|
||||||
ControllerHandle,
|
ControllerHandle,
|
||||||
&gEfiSimpleTextInputExProtocolGuid,
|
&gEfiSimpleTextInputExProtocolGuid,
|
||||||
|
@ -970,11 +975,8 @@ Returns:
|
||||||
}
|
}
|
||||||
|
|
||||||
Status = ConSplitterTextInExAddDevice (&mConIn, TextInEx);
|
Status = ConSplitterTextInExAddDevice (&mConIn, TextInEx);
|
||||||
if (EFI_ERROR (Status)) {
|
|
||||||
return Status;
|
return Status;
|
||||||
}
|
|
||||||
|
|
||||||
return ConSplitterTextInAddDevice (&mConIn, TextIn);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
|
|
Loading…
Reference in New Issue