Commit 0d8d6b0
committed
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 <[email protected]>1 parent 70dac0f commit 0d8d6b0
1 file changed
+22
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
160 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
161 | 183 | | |
162 | 184 | | |
163 | 185 | | |
| |||
0 commit comments