mirror of https://github.com/acidanthera/audk.git
add back the ReadKeyStroke which is removed wrongly during ICC cleanup.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4627 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
958536baab
commit
cb7cd5b0d9
|
@ -218,6 +218,7 @@ Returns:
|
|||
--*/
|
||||
{
|
||||
EFI_STATUS Status;
|
||||
EFI_STATUS KeyStatus;
|
||||
EFI_STATUS InitStatus;
|
||||
EFI_STATUS ReturnStatus;
|
||||
BOOLEAN RequireSoftECCInit;
|
||||
|
@ -353,7 +354,8 @@ Returns:
|
|||
|
||||
PreviousValue = TestPercent;
|
||||
|
||||
if (Key.ScanCode == SCAN_ESC) {
|
||||
KeyStatus = gST->ConIn->ReadKeyStroke (gST->ConIn, &Key);
|
||||
if (!EFI_ERROR (KeyStatus) && (Key.ScanCode == SCAN_ESC)) {
|
||||
if (!RequireSoftECCInit) {
|
||||
TmpStr = GetStringById (STRING_TOKEN (STR_PERFORM_MEM_TEST));
|
||||
if (TmpStr != NULL) {
|
||||
|
|
Loading…
Reference in New Issue