VirtualBox

Changeset 74446 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Sep 24, 2018 4:05:11 PM (6 years ago)
Author:
vboxsync
Message:

Devices/Serial: Add callback to flush receive/transmit queues of the underlying driver when the serial device flushes the internal queues to stay in sync. Should fix hanging serial I/O under certain circumstances (Debugging a Windows 7 guest over a serial port attached to a named pipe for example)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/pdmserialifs.h

    r73712 r74446  
    216216    DECLR3CALLBACKMEMBER(int, pfnQueryStsLines, (PPDMISERIALCONNECTOR pInterface, uint32_t *pfStsLines));
    217217
     218    /**
     219     * Flushes the indicated queues.
     220     *
     221     * @returns VBox status code.
     222     * @param   pInterface          Pointer to the interface structure containing the called function pointer.
     223     * @param   fQueueRecv          Flag whether to flush the receive queue.
     224     * @param   fQueueXmit          Flag whether to flush the transmit queue.
     225     */
     226    DECLR3CALLBACKMEMBER(int, pfnQueuesFlush, (PPDMISERIALCONNECTOR pInterface, bool fQueueRecv, bool fQueueXmit));
     227
    218228} PDMISERIALCONNECTOR;
    219229/** PDMIMEDIA interface ID. */
    220 #define PDMISERIALCONNECTOR_IID                  "2f16fda0-4980-4ec8-969c-18c1d10b7b95"
     230#define PDMISERIALCONNECTOR_IID                  "d024f170-c00d-11e8-b568-0800200c9a66"
    221231
    222232/** @} */
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