Changeset 99529 in vbox
- Timestamp:
- Apr 26, 2023 6:07:54 AM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 157038
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Serial/DevPL011.cpp
r99152 r99529 421 421 #else 422 422 pThis->uRegDr = bVal; 423 pThis->uRegFr |= PL011_REG_UARTFR_BUSY ;423 pThis->uRegFr |= PL011_REG_UARTFR_BUSY | PL011_REG_UARTFR_TXFF; 424 424 pl011IrqUpdate(pDevIns, pThis, pThisCC); 425 425 fNotifyDrv = true; … … 525 525 pThisCC->pDrvSerial->pfnQueuesFlush(pThisCC->pDrvSerial, true /*fQueueRecv*/, false /*fQueueXmit*/); 526 526 ASMAtomicWriteU32(&pThis->cbAvailRdr, 0); 527 PL011_REG_CLR(pThis->uRegFr, PL011_REG_UARTFR_BUSY );527 PL011_REG_CLR(pThis->uRegFr, PL011_REG_UARTFR_BUSY | PL011_REG_UARTFR_TXFF); 528 528 } 529 529 } … … 593 593 *(uint8_t *)pvBuf = pThis->uRegDr; 594 594 *pcbRead = 1; 595 PL011_REG_CLR(pThis->uRegFr, PL011_REG_UARTFR_BUSY );595 PL011_REG_CLR(pThis->uRegFr, PL011_REG_UARTFR_BUSY | PL011_REG_UARTFR_TXFF); 596 596 pl011IrqUpdate(pDevIns, pThis, pThisCC); 597 597 }
Note:
See TracChangeset
for help on using the changeset viewer.