mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
Fix ECC issue.
Signed-off-by: Li Elvin <elvin.li@intel.com> Reviewed-by: Dong Eric <eric.dong@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13855 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
64470c17df
commit
616ac6f569
@ -1519,7 +1519,7 @@ InitKeyboard (
|
|||||||
// Perform a read to cleanup the Status Register's
|
// Perform a read to cleanup the Status Register's
|
||||||
// output buffer full bits within MAX TRY times
|
// output buffer full bits within MAX TRY times
|
||||||
//
|
//
|
||||||
if ((KeyReadStatusRegister (ConsoleIn) & KEYBOARD_STATUS_REGISTER_HAS_OUTPUT_DATA)) {
|
if ((KeyReadStatusRegister (ConsoleIn) & KEYBOARD_STATUS_REGISTER_HAS_OUTPUT_DATA) != 0) {
|
||||||
while (!EFI_ERROR (Status) && TryTime < KEYBOARD_MAX_TRY) {
|
while (!EFI_ERROR (Status) && TryTime < KEYBOARD_MAX_TRY) {
|
||||||
Status = KeyboardRead (ConsoleIn, &CommandByte);
|
Status = KeyboardRead (ConsoleIn, &CommandByte);
|
||||||
TryTime ++;
|
TryTime ++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user