VirtualBox

Changeset 69892 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Nov 30, 2017 10:34:01 PM (7 years ago)
Author:
vboxsync
Message:

Runtime: Start on a platform independent serial port access API which will be more advanced and cleaner than the code in DrvHostSerial. DrvHostSerial will be converted to use this API later on when it is mature. Additionally it will be used by a serial port test utility for automatic serial port testing in the validation kit

Location:
trunk/include/iprt
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/err.h

    r69813 r69892  
    31043104/** @} */
    31053105
     3106
     3107/** @name RTSerialPort status codes
     3108 * @{ */
     3109/** A break was detected until all requested data could be received. */
     3110#define VERR_SERIALPORT_BREAK_DETECTED                  (-25500)
     3111/** The chosen baudrate is invalid or not supported by the given serial port. */
     3112#define VERR_SERIALPORT_INVALID_BAUDRATE                (-25501)
     3113
     3114/** @} */
     3115
    31063116/* SED-END */
    31073117
  • trunk/include/iprt/mangling.h

    r69855 r69892  
    18051805# define RTSemXRoadsNSEnter                             RT_MANGLER(RTSemXRoadsNSEnter)
    18061806# define RTSemXRoadsNSLeave                             RT_MANGLER(RTSemXRoadsNSLeave)
     1807# define RTSerialPortOpen                               RT_MANGLER(RTSerialPortOpen)
     1808# define RTSerialPortClose                              RT_MANGLER(RTSerialPortClose)
     1809# define RTSerialPortToNative                           RT_MANGLER(RTSerialPortToNative)
     1810# define RTSerialPortRead                               RT_MANGLER(RTSerialPortRead)
     1811# define RTSerialPortReadNB                             RT_MANGLER(RTSerialPortReadNB)
     1812# define RTSerialPortWrite                              RT_MANGLER(RTSerialPortWrite)
     1813# define RTSerialPortWriteNB                            RT_MANGLER(RTSerialPortWriteNB)
     1814# define RTSerialPortCfgQueryCurrent                    RT_MANGLER(RTSerialPortCfgQueryCurrent)
     1815# define RTSerialPortCfgSet                             RT_MANGLER(RTSerialPortCfgSet)
     1816# define RTSerialPortEvtPoll                            RT_MANGLER(RTSerialPortEvtPoll)
     1817# define RTSerialPortEvtPollInterrupt                   RT_MANGLER(RTSerialPortEvtPollInterrupt)
     1818# define RTSerialPortChgBreakCondition                  RT_MANGLER(RTSerialPortChgBreakCondition)
     1819# define RTSerialPortChgStatusLines                     RT_MANGLER(RTSerialPortChgStatusLines)
     1820# define RTSerialPortQueryStatusLines                   RT_MANGLER(RTSerialPortQueryStatusLines)
    18071821# define RTSgBufAdvance                                 RT_MANGLER(RTSgBufAdvance)
    18081822# define RTSgBufClone                                   RT_MANGLER(RTSgBufClone)
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