Flush keyboard buffer out of any keystrokes before waiting for user input

このコミットが含まれているのは:
2024-05-05 15:29:20 +02:00
コミット 07d7e06b2b

ファイルの表示

@@ -106,6 +106,9 @@ BlDisplayBootMenu()
Events[0] = EfiSystemTable->ConIn->WaitForKey;
Events[1] = TimerEvent;
/* Flush keyboard buffer out of any keystrokes */
EfiSystemTable->ConIn->Reset(EfiSystemTable->ConIn, FALSE);
/* Infinite boot menu event loop */
while(TRUE)
{