diff options
| author | Jiaqing Zhao <Zhao.Jiaqing@amd.com> | 2026-06-25 10:28:52 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-07-20 15:43:36 +0300 |
| commit | a1b3a6bd1fec6d37e3d9866e818510b5687e6659 (patch) | |
| tree | 6c5a2f4aee2c8b8659a2544138859d4b8acc5873 /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c | |
| parent | ff355e4bddf2a85b428dfbef8939330cc685a9fc (diff) | |
| download | edk2-a1b3a6bd1fec6d37e3d9866e818510b5687e6659.tar.xz | |
OvmfPkg/VirtioKeyboardDxe: Simplify WaitForKey event handling
Both WaitForKey and WaitForKeyEx event handler runs the same logic in
VirtioKeyboardWaitForKey(). Pass the VIRTIO_KBD_DEV pointer directly
as the event notify context so one function serves both events.
Also drop the erroneous assignment of VirtioKeyboardWaitForKey() to
Dev->Txt.WaitForKey, which stored a function pointer into the event
handle field and was immediately overwritten by CreateEvent().
No functional change.
Signed-off-by: Jiaqing Zhao <Zhao.Jiaqing@amd.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c')
0 files changed, 0 insertions, 0 deletions
