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:
@ -218,6 +218,7 @@ Returns:
|
|||||||
--*/
|
--*/
|
||||||
{
|
{
|
||||||
EFI_STATUS Status;
|
EFI_STATUS Status;
|
||||||
|
EFI_STATUS KeyStatus;
|
||||||
EFI_STATUS InitStatus;
|
EFI_STATUS InitStatus;
|
||||||
EFI_STATUS ReturnStatus;
|
EFI_STATUS ReturnStatus;
|
||||||
BOOLEAN RequireSoftECCInit;
|
BOOLEAN RequireSoftECCInit;
|
||||||
@ -353,7 +354,8 @@ Returns:
|
|||||||
|
|
||||||
PreviousValue = TestPercent;
|
PreviousValue = TestPercent;
|
||||||
|
|
||||||
if (Key.ScanCode == SCAN_ESC) {
|
KeyStatus = gST->ConIn->ReadKeyStroke (gST->ConIn, &Key);
|
||||||
|
if (!EFI_ERROR (KeyStatus) && (Key.ScanCode == SCAN_ESC)) {
|
||||||
if (!RequireSoftECCInit) {
|
if (!RequireSoftECCInit) {
|
||||||
TmpStr = GetStringById (STRING_TOKEN (STR_PERFORM_MEM_TEST));
|
TmpStr = GetStringById (STRING_TOKEN (STR_PERFORM_MEM_TEST));
|
||||||
if (TmpStr != NULL) {
|
if (TmpStr != NULL) {
|
||||||
|
Reference in New Issue
Block a user