VirtualBox

Changeset 73713 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 16, 2018 1:37:24 PM (6 years ago)
Author:
vboxsync
Message:

Devices/Serial: Remove giving the amount of available data to write from the UART core and let the drivers figure it out themselves when querying the data to write. Avoids unnecessary trips to R3 when the FIFO is enabled if the guest keeps the FIFO filled. Some other smaller fixes [build fix]

Location:
trunk/src/VBox/Devices/Serial
Files:
2 edited

Legend:

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

    r73712 r73713  
    7777    /** Current position into the read buffer. */
    7878    uint8_t                     *pbBuf;
    79 
    80 #if HC_ARCH_BITS == 32
    81     /** Alignment. */
    82     uint32_t                    u32Alignment0;
    83 #endif
    8479
    8580    /** Read/write statistics */
  • trunk/src/VBox/Devices/Serial/UartCore.cpp

    r73712 r73713  
    340340 * Returns the amount of bytes stored in the given FIFO.
    341341 *
    342  * @retrusn Amount of bytes stored in the FIFO.
     342 * @returns Amount of bytes stored in the FIFO.
    343343 * @param   pFifo               The FIFO.
    344344 */
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