1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-10-22 10:31:56 +02:00

efi_console: set up events

Set up a timer event and the WaitForKey event.
In the notify function of the timer event check for console input
and signal the WaitForKey event accordingly.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
xypron.glpk@gmx.de
2017-07-18 20:17:22 +02:00
committed by Alexander Graf
parent bfc724625f
commit 91be9a77b7
4 changed files with 46 additions and 3 deletions

View File

@@ -81,7 +81,7 @@ efi_status_t efi_exit_func(efi_status_t ret)
return ret;
}
static void efi_signal_event(struct efi_event *event)
void efi_signal_event(struct efi_event *event)
{
if (event->signaled)
return;