Changeset 6066 in vbox
- Timestamp:
- Dec 14, 2007 4:05:49 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 26752
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/include/VBox/pdmifs.h ¶
r6017 r6066 1090 1090 } PDMIISCSITRANSPORT; 1091 1091 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. */ 1093 1094 typedef uint8_t PDMICHARSTATUSLINES; 1094 1095 /** pointer to a PDMICHARSTATUSLINES type. */ 1095 1096 typedef 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 1102 1106 1103 1107 /** Pointer to a char port interface. */ … … 1125 1129 * @returns VBox status code. 1126 1130 * @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)); 1131 1135 } PDMICHARPORT; 1132 1136 … … 1167 1171 * 1168 1172 * @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)); 1175 1180 1176 1181 } PDMICHAR;
Note:
See TracChangeset
for help on using the changeset viewer.