Changeset 72083 in vbox for trunk/include
- Timestamp:
- May 2, 2018 6:04:29 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmserialifs.h
r72072 r72083 109 109 /** Odd parity. */ 110 110 PDMSERIALPARITY_ODD, 111 /** Mark parity. */ 112 PDMSERIALPARITY_MARK, 113 /** Space parity. */ 114 PDMSERIALPARITY_SPACE, 111 115 /** 32bit hack. */ 112 116 PDMSERIALPARITY_32BIT_HACK = 0x7fffffff 113 117 } PDMSERIALPARITY; 118 119 120 /** 121 * Supported number of stop bits. 122 */ 123 typedef enum PDMSERIALSTOPBITS 124 { 125 /** Invalid stop bits setting. */ 126 PDMSERIALSTOPBITS_INVALID = 0, 127 /** One stop bit is used. */ 128 PDMSERIALSTOPBITS_ONE, 129 /** 1.5 stop bits are used. */ 130 PDMSERIALSTOPBITS_ONEPOINTFIVE, 131 /** 2 stop bits are used. */ 132 PDMSERIALSTOPBITS_TWO, 133 /** 32bit hack. */ 134 PDMSERIALSTOPBITS_32BIT_HACK = 0x7fffffff 135 } PDMSERIALSTOPBITS; 114 136 115 137 … … 150 172 * @param enmParity Parity method. 151 173 * @param cDataBits Number of data bits. 152 * @param cStopBitsNumber of stop bits.174 * @param enmStopBits Number of stop bits. 153 175 * @thread Any thread. 154 176 */ 155 177 DECLR3CALLBACKMEMBER(int, pfnChgParams,(PPDMISERIALCONNECTOR pInterface, uint32_t uBps, 156 PDMSERIALPARITY enmParity, unsigned cDataBits, unsigned cStopBits)); 178 PDMSERIALPARITY enmParity, unsigned cDataBits, 179 PDMSERIALSTOPBITS enmStopBits)); 157 180 158 181 /** … … 176 199 */ 177 200 DECLR3CALLBACKMEMBER(int, pfnChgBrk,(PPDMISERIALCONNECTOR pInterface, bool fBrk)); 201 202 /** 203 * Queries the current state of the status lines. 204 * 205 * @returns VBox status code. 206 * @param pInterface Pointer to the interface structure containing the called function pointer. 207 * @param pfStsLines Where to store the status line states on success. 208 */ 209 DECLR3CALLBACKMEMBER(int, pfnQueryStsLines, (PPDMISERIALCONNECTOR pInterface, uint32_t *pfStsLines)); 178 210 179 211 } PDMISERIALCONNECTOR;
Note:
See TracChangeset
for help on using the changeset viewer.