diff options
| author | Gerd Hoffmann <kraxel@redhat.com> | 2025-12-04 23:10:41 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2025-12-09 09:39:21 +0300 |
| commit | 471c15b396a3f24fefbc377fe84a5c5f7bc26b1e (patch) | |
| tree | fdb33fac185a983829de5c3cfebc4cf425692628 /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h | |
| parent | 8b11d8b1cc49374a178e23c3d6b42fca7c803d66 (diff) | |
| download | edk2-471c15b396a3f24fefbc377fe84a5c5f7bc26b1e.tar.xz | |
OvmfPkg/VirtioSerialDxe: set EFI_SERIAL_INPUT_BUFFER_EMPTY
Check if there is data available for read, set the
EFI_SERIAL_INPUT_BUFFER_EMPTY flag accordingly.
With proper status returned VirtioSerialIoRead() will only
be called if there is actual data to read, so we must call
VirtioSerialIoWriteFlush() to make sure pending writes get
flushed to the host properly.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h')
0 files changed, 0 insertions, 0 deletions
