VirtualBox

Changeset 69896 in vbox


Ignore:
Timestamp:
Nov 30, 2017 11:27:24 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
119365
Message:

Runtime: New serial port API [build fix for scm]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/posix/serialport-posix.cpp

    r69894 r69896  
    262262static int rtSerialPortCfg2Termios(PCRTSERIALPORTCFG pCfg, struct termios *pTermios, PRTERRINFO pErrInfo)
    263263{
    264     RT_NOREF(pErrInfo); /** @todo: Make use of the error info. */
     264    RT_NOREF(pErrInfo); /** @todo Make use of the error info. */
    265265    speed_t enmSpeed = rtSerialPortGetTermiosSpeedFromBaudrate(pCfg->uBaudRate);
    266266    if (enmSpeed != B0)
     
    343343
    344344#ifdef RT_OS_LINUX
    345     /** @todo: Handle custom baudrates supported by Linux. */
     345    /** @todo Handle custom baudrates supported by Linux. */
    346346#endif
    347347
     
    471471            rcPsx = ioctl(pThis->iFd, TIOCMIWAIT, fStsLinesChk);
    472472            if (!rcPsx)
    473             { /** @todo: Notify any event waiter. */ }
     473            { /** @todo Notify any event waiter. */ }
    474474            else if (rcPsx == -1 && errno != EINTR)
    475475                fPoll = true;
     
    486486                if (((fStsLines ^ fStsLinesOld) & fStsLinesChk))
    487487                {
    488                     /** @todo: Notify any event waiter. */
     488                    /** @todo Notify any event waiter. */
    489489                    fStsLinesOld = fStsLines;
    490490                }
     
    499499                 */
    500500                if (cStsLineGetErrors++ >= 10)
    501                 { /** @todo: Send error notification */ }
     501                { /** @todo Send error notification */ }
    502502
    503503                RTThreadSleep(100 /*ms*/);
     
    846846}
    847847
    848 
    849 
    850 
Note: See TracChangeset for help on using the changeset viewer.

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