VirtualBox

Changeset 75314 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Nov 7, 2018 6:58:50 PM (6 years ago)
Author:
vboxsync
Message:

Devices/Serial/UartCore: Fix interrupt generation for the transmit holding register empty case, only fire the interrupt if the generation is enabled in the IER register

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Serial/UartCore.cpp

    r75134 r75314  
    304304                 || pThis->FifoRecv.cbUsed >= pThis->FifoRecv.cbItl))
    305305        uRegIirNew = UART_REG_IIR_ID_SET(UART_REG_IIR_ID_RDA);
    306     else if (   (pThis->uRegLsr & UART_REG_LSR_THRE)
     306    else if (   (pThis->uRegIer & UART_REG_IER_ETBEI)
    307307             && pThis->fThreEmptyPending)
    308308        uRegIirNew = UART_REG_IIR_ID_SET(UART_REG_IIR_ID_THRE);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette