Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.

Commit cf8f427

Browse files
libefiwrapper/conin: create an arbitrary WaitForKey event
Change-Id: I6beaf2ba236f7670d8307d9fcdb0480c92a46c9c Signed-off-by: Jeremy Compostella <[email protected]>
1 parent 9d9717d commit cf8f427

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libefiwrapper/conin.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ EFI_STATUS conin_init(EFI_SYSTEM_TABLE *st)
5353
{
5454
static SIMPLE_INPUT_INTERFACE conin_default = {
5555
.Reset = conin_reset,
56-
.ReadKeyStroke = conin_read_key
56+
.ReadKeyStroke = conin_read_key,
57+
.WaitForKey = (EFI_HANDLE)conin_init
5758
};
5859

5960
if (!st)

0 commit comments

Comments
 (0)