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:
qwang12 2008-01-24 08:27:44 +00:00
parent 958536baab
commit cb7cd5b0d9
1 changed files with 3 additions and 1 deletions

View File

@ -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) {