VirtualBox

Changeset 69892 in vbox


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
Files:
2 added
3 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)
  • trunk/src/VBox/Runtime/Makefile.kmk

    r69885 r69892  
    946946        r3/posix/rand-posix.cpp \
    947947        r3/posix/semrw-posix.cpp \
     948        r3/posix/serialport-posix.cpp \
    948949        r3/posix/symlink-posix.cpp \
    949950        r3/posix/thread-posix.cpp \
     
    11271128        r3/posix/semeventmulti-posix.cpp \
    11281129        r3/posix/semmutex-posix.cpp \
     1130        r3/posix/serialport-posix.cpp \
    11291131        r3/posix/symlink-posix.cpp \
    11301132        r3/posix/thread-posix.cpp \
     
    12071209        r3/posix/semmutex-posix.cpp \
    12081210        r3/posix/semrw-posix.cpp \
     1211        r3/posix/serialport-posix.cpp \
    12091212        r3/posix/symlink-posix.cpp \
    12101213        r3/posix/thread-posix.cpp \
     
    12811284        r3/posix/semmutex-posix.cpp \
    12821285        r3/posix/semrw-posix.cpp \
     1286        r3/posix/serialport-posix.cpp \
    12831287        r3/posix/symlink-posix.cpp \
    12841288        r3/posix/thread-posix.cpp \
     
    13491353        r3/posix/semmutex-posix.cpp \
    13501354        r3/posix/semrw-posix.cpp \
     1355        r3/posix/serialport-posix.cpp \
    13511356        r3/posix/symlink-posix.cpp \
    13521357        r3/posix/thread-posix.cpp \
     
    14381443        r3/posix/semeventmulti-posix.cpp \
    14391444        r3/posix/semmutex-posix.cpp \
     1445        r3/posix/serialport-posix.cpp \
    14401446        r3/posix/symlink-posix.cpp \
    14411447        r3/posix/thread-posix.cpp \
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