mirror of
https://github.com/reactos/reactos.git
synced 2026-06-24 17:17:45 +08:00
The UEFI boot menu countdown was broken for two reasons: - StallExecutionProcessor and UefiHwIdle were empty stubs, so the countdown had no actual delay and no proper idle, it ran instantly without waiting KbHit used ReadKeyStroke to poll for input, which consumed the keystroke before GetCh could read it. This fixes both: StallExecutionProcessor and UefiHwIdle now have real implementations using BootServices->Stall and a timer event. KbHit is changed to use CheckEvent(WaitForKey) which polls availability without consuming the key. CORE-11954