VirtualBox

Changeset 6066 in vbox


Ignore:
Timestamp:
Dec 14, 2007 4:05:49 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
26752
Message:

Hungarian is mandatory in this file. Also, a couple of todos.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/include/VBox/pdmifs.h

    r6017 r6066  
    10901090} PDMIISCSITRANSPORT;
    10911091
    1092 /** Status line type. */
     1092/** Status line type.
     1093 * @todo r=bird: These are just flags, so just use a uint8_t (or better an uint32_t / unsigned). no need for a type here. */
    10931094typedef uint8_t PDMICHARSTATUSLINES;
    10941095/** pointer to a PDMICHARSTATUSLINES type. */
    10951096typedef PDMICHARSTATUSLINES *PPDMICHARSTATUSLINES;
    1096  
    1097 /** Bit mask definitions for status line type*/
    1098 #define PDM_ICHAR_STATUS_LINES_DCD RT_BIT(0)
    1099 #define PDM_ICHAR_STATUS_LINES_RI  RT_BIT(1)
    1100 #define PDM_ICHAR_STATUS_LINES_DSR RT_BIT(2)
    1101 #define PDM_ICHAR_STATUS_LINES_CTS RT_BIT(3)
     1097
     1098/** @name Bit mask definitions for status line type
     1099 * @{ */
     1100#define PDM_ICHAR_STATUS_LINES_DCD  RT_BIT(0)
     1101#define PDM_ICHAR_STATUS_LINES_RI   RT_BIT(1)
     1102#define PDM_ICHAR_STATUS_LINES_DSR  RT_BIT(2)
     1103#define PDM_ICHAR_STATUS_LINES_CTS  RT_BIT(3)
     1104/** @} */
     1105
    11021106
    11031107/** Pointer to a char port interface. */
     
    11251129     * @returns VBox status code.
    11261130     * @param   pInterface      Pointer to the interface structure containing the called function pointer.
    1127      * @param   newStatusLine   New state of the status line pins.
    1128      * @thread  Any thread.
    1129      */
    1130     DECLR3CALLBACKMEMBER(int, pfnNotifyStatusLinesChanged,(PPDMICHARPORT pInterface, PDMICHARSTATUSLINES newStatusLines));
     1131     * @param   fNewStatusLine   New state of the status line pins.
     1132     * @thread  Any thread.
     1133     */
     1134    DECLR3CALLBACKMEMBER(int, pfnNotifyStatusLinesChanged,(PPDMICHARPORT pInterface, PDMICHARSTATUSLINES fNewStatusLines));
    11311135} PDMICHARPORT;
    11321136
     
    11671171     *
    11681172     * @returns VBox status code.
    1169      * @param   pInterface        Pointer to the interface structure containing the called function pointer.
    1170      * @param   RequestToSend     Set to 1 to make the Request to Send line active otherwise to 0.
    1171      * @param   DataTerminalReady Set to 1 to make the Data Terminal Ready line active otherwise 0.
    1172      * @thread  Any thread.
    1173      */
    1174     DECLR3CALLBACKMEMBER(int, pfnSetModemLines,(PPDMICHAR pInterface, unsigned RequestToSend, unsigned DataTerminalReady));
     1173     * @param   pInterface          Pointer to the interface structure containing the called function pointer.
     1174     * @param   fRequestToSend      Set to 1 to make the Request to Send line active otherwise to 0.
     1175     * @param   fDataTerminalReady  Set to 1 to make the Data Terminal Ready line active otherwise 0.
     1176     * @thread  Any thread.
     1177     * @todo r=bird: Use booleans for 0/1 kind of values + make the code follow the descriptions (foo & const -> const/0), or fix the description.
     1178     */
     1179    DECLR3CALLBACKMEMBER(int, pfnSetModemLines,(PPDMICHAR pInterface, unsigned fRequestToSend, unsigned fDataTerminalReady));
    11751180
    11761181} PDMICHAR;
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