Changeset 6130 in vbox
- Timestamp:
- Dec 18, 2007 3:58:40 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 26861
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/pdmifs.h
r6112 r6130 86 86 * used by the iSCSI media driver. */ 87 87 PDMINTERFACE_ISCSITRANSPORT, 88 /** PDMIMEDIAASYNC - Async hronous version of the media interface (Down)Coupled with PDMINTERFACE_MEDIA_ASYNC_PORT. */88 /** PDMIMEDIAASYNC - Async version of the media interface (Down) Coupled with PDMINTERFACE_MEDIA_ASYNC_PORT. */ 89 89 PDMINTERFACE_MEDIA_ASYNC, 90 /** PDMIMEDIAASYNCPORT - Async hronous version of the media interface (Up)Coupled with PDMINTERFACE_MEDIA_ASYNC. */90 /** PDMIMEDIAASYNCPORT - Async version of the media interface (Up) Coupled with PDMINTERFACE_MEDIA_ASYNC. */ 91 91 PDMINTERFACE_MEDIA_ASYNC_PORT, 92 /** PDMIBLOCKASYNC - Async hronous version of the block interface (Down)Coupled with PDMINTERFACE_BLOCK_ASYNC_PORT. */92 /** PDMIBLOCKASYNC - Async version of the block interface (Down) Coupled with PDMINTERFACE_BLOCK_ASYNC_PORT. */ 93 93 PDMINTERFACE_BLOCK_ASYNC, 94 /** PDMIBLOCKASYNCPORT - Async hronous version of the block interface (Up)Coupled with PDMINTERFACE_BLOCK_ASYNC. */94 /** PDMIBLOCKASYNCPORT - Async version of the block interface (Up) Coupled with PDMINTERFACE_BLOCK_ASYNC. */ 95 95 PDMINTERFACE_BLOCK_ASYNC_PORT, 96 /** PDMITRANSPORTASYNC - Transport data async hronous to their target (Down)Coupled with PDMINTERFACE_TRANSPORT_ASYNC_PORT. */96 /** PDMITRANSPORTASYNC - Transport data async to their target (Down) Coupled with PDMINTERFACE_TRANSPORT_ASYNC_PORT. */ 97 97 PDMINTERFACE_TRANSPORT_ASYNC, 98 /** PDMITRANSPORTASYNCPORT - Transport data async hronous to their target (Up)Coupled with PDMINTERFACE_TRANSPORT_ASYNC. */98 /** PDMITRANSPORTASYNCPORT - Transport data async to their target (Up) Coupled with PDMINTERFACE_TRANSPORT_ASYNC. */ 99 99 PDMINTERFACE_TRANSPORT_ASYNC_PORT, 100 100 … … 1103 1103 } PDMIISCSITRANSPORT; 1104 1104 1105 /**1106 * Block notify interface.1107 * Pair with PDMIBLOCKASYNC.1108 */1109 1105 1110 1106 /** Pointer to a asynchronous block notify interface. */ 1111 1107 typedef struct PDMIBLOCKASYNCPORT *PPDMIBLOCKASYNCPORT; 1112 1113 1108 /** 1114 1109 * Asynchronous block notify interface. … … 1122 1117 * @returns VBox status code. 1123 1118 * @param pInterface Pointer to the interface structure containing the called function pointer. 1124 * @param uOffsetOffset the task read from.1119 * @param off Offset the task read from. 1125 1120 * @param pvBuf The buffer containig the read data. 1126 1121 * @param cbRead Number of bytes read. … … 1128 1123 * @thread Any thread. 1129 1124 */ 1130 DECLR3CALLBACKMEMBER(int, pfnReadCompleteNotify, (PPDMIBLOCKASYNCPORT pInterface, uint64_t uOffset, void *pvBuf, size_t cbRead, void *pvUser));1125 DECLR3CALLBACKMEMBER(int, pfnReadCompleteNotify, (PPDMIBLOCKASYNCPORT pInterface, uint64_t off, void *pvBuf, size_t cbRead, void *pvUser)); 1131 1126 1132 1127 /** … … 1135 1130 * @returns VBox status code. 1136 1131 * @param pInterface Pointer to the interface structure containing the called function pointer. 1137 * @param uOffsetOffset the task has written to.1132 * @param off Offset the task has written to. 1138 1133 * @param pvBuf The buffer containig the written data. 1139 1134 * @param cbWrite Number of bytes actually written. … … 1141 1136 * @thread Any thread. 1142 1137 */ 1143 DECLR3CALLBACKMEMBER(int, pfnWriteCompleteNotify, (PPDMIBLOCKASYNCPORT pInterface, uint64_t uOffset, void *pvBuf, size_t cbWrite, void *pvUser));1138 DECLR3CALLBACKMEMBER(int, pfnWriteCompleteNotify, (PPDMIBLOCKASYNCPORT pInterface, uint64_t off, void *pvBuf, size_t cbWrite, void *pvUser)); 1144 1139 } PDMIBLOCKASYNCPORT; 1140 1145 1141 1146 1142 /** Pointer to a asynchronous block interface. */ 1147 1143 typedef struct PDMIBLOCKASYNC *PPDMIBLOCKASYNC; 1148 1149 1144 /** 1150 1145 * Asynchronous block interface. … … 1228 1223 } PDMIBLOCKASYNC; 1229 1224 1230 /** Notification interface for completed I/O tasks.1231 * Pair with PDMIMEDIAASYNC.1232 */1233 1225 1234 1226 /** Pointer to a asynchronous notification interface. */ 1235 1227 typedef struct PDMIMEDIAASYNCPORT *PPDMIMEDIAASYNCPORT; 1236 1237 1228 /** 1238 1229 * Asynchronous media interface. … … 1246 1237 * @returns VBox status code. 1247 1238 * @param pInterface Pointer to the interface structure containing the called function pointer. 1248 * @param uOffsetOffset the task read from.1239 * @param off Offset the task read from. 1249 1240 * @param pvBuf The buffer containig the read data. 1250 1241 * @param cbRead Number of bytes read. … … 1252 1243 * @thread Any thread. 1253 1244 */ 1254 DECLR3CALLBACKMEMBER(int, pfnReadCompleteNotify, (PPDMIMEDIAASYNCPORT pInterface, uint64_t uOffset, void *pvBuf, size_t cbRead, void *pvUser));1245 DECLR3CALLBACKMEMBER(int, pfnReadCompleteNotify, (PPDMIMEDIAASYNCPORT pInterface, uint64_t off, void *pvBuf, size_t cbRead, void *pvUser)); 1255 1246 1256 1247 /** … … 1259 1250 * @returns VBox status code. 1260 1251 * @param pInterface Pointer to the interface structure containing the called function pointer. 1261 * @param uOffsetOffset the task has written to.1252 * @param off Offset the task has written to. 1262 1253 * @param pvBuf The buffer containig the written data. 1263 1254 * @param cbWritten Number of bytes actually written. … … 1265 1256 * @thread Any thread. 1266 1257 */ 1267 DECLR3CALLBACKMEMBER(int, pfnWriteCompleteNotify, (PPDMIMEDIAASYNCPORT pInterface, uint64_t uOffset, void *pvBuf, size_t cbWritten, void *pvUser));1258 DECLR3CALLBACKMEMBER(int, pfnWriteCompleteNotify, (PPDMIMEDIAASYNCPORT pInterface, uint64_t off, void *pvBuf, size_t cbWritten, void *pvUser)); 1268 1259 } PDMIMEDIAASYNCPORT; 1260 1269 1261 1270 1262 /** Pointer to a asynchronous media interface. */ 1271 1263 typedef struct PDMIMEDIAASYNC *PPDMIMEDIAASYNC; 1272 1273 1264 /** 1274 1265 * Asynchronous media interface. … … 1401 1392 } PDMIMEDIAASYNC; 1402 1393 1403 /** 1404 * Pointer to a async media notify interface. 1405 * Pair with PDMITRANSPORTASYNC. 1406 */ 1394 1395 /** Pointer to a async media notify interface. */ 1407 1396 typedef struct PDMITRANSPORTASYNCPORT *PPDMITRANSPORTASYNCPORT; 1408 1409 1397 /** 1410 1398 * Notification interface for completed I/O tasks. … … 1418 1406 * @returns VBox status code. 1419 1407 * @param pInterface Pointer to the interface structure containing the called function pointer. 1420 * @param uOffsetOffset the task read from.1408 * @param off Offset the task read from. 1421 1409 * @param pvBuf The buffer containig the read data. 1422 1410 * @param cbRead Number of bytes read. … … 1424 1412 * @thread Any thread. 1425 1413 */ 1426 DECLR3CALLBACKMEMBER(int, pfnReadCompleteNotify, (PPDMITRANSPORTASYNCPORT pInterface, uint64_t uOffset, void *pvBuf, size_t cbRead, void *pvUser));1414 DECLR3CALLBACKMEMBER(int, pfnReadCompleteNotify, (PPDMITRANSPORTASYNCPORT pInterface, uint64_t off, void *pvBuf, size_t cbRead, void *pvUser)); 1427 1415 1428 1416 /** … … 1431 1419 * @returns VBox status code. 1432 1420 * @param pInterface Pointer to the interface structure containing the called function pointer. 1433 * @param uOffsetOffset the task has written to.1421 * @param off Offset the task has written to. 1434 1422 * @param pvBuf The buffer containig the written data. 1435 1423 * @param cbWritten Number of bytes actually written. … … 1437 1425 * @thread Any thread. 1438 1426 */ 1439 DECLR3CALLBACKMEMBER(int, pfnWriteCompleteNotify, (PPDMITRANSPORTASYNCPORT pInterface, uint64_t uOffset, void *pvBuf, size_t cbWritten, void *pvUser));1427 DECLR3CALLBACKMEMBER(int, pfnWriteCompleteNotify, (PPDMITRANSPORTASYNCPORT pInterface, uint64_t off, void *pvBuf, size_t cbWritten, void *pvUser)); 1440 1428 } PDMITRANSPORTASYNCPORT; 1429 1441 1430 1442 1431 /** Pointer to a async media interface. */ … … 1454 1443 * @returns VBox status code. 1455 1444 * @param pInterface Pointer to the interface structure containint the called function pointer. 1456 * @param uOffsetOffset to start reading from.1445 * @param off Offset to start reading from. 1457 1446 * @param pvBuf here to store the read bits. 1458 1447 * @param cbRead Number of bytes to read. … … 1460 1449 * @thread Any thread. 1461 1450 */ 1462 DECLR3CALLBACKMEMBER(int, pfnReadSynchronous, (PPDMITRANSPORTASYNC pInterface, uint64_t uOffset, void *pvBuf, size_t cbRead, size_t *pcbRead));1451 DECLR3CALLBACKMEMBER(int, pfnReadSynchronous, (PPDMITRANSPORTASYNC pInterface, uint64_t off, void *pvBuf, size_t cbRead, size_t *pcbRead)); 1463 1452 1464 1453 /** … … 1468 1457 * @returns VBox status code. 1469 1458 * @param pInterface Pointer to the interface structure containint the called function pointer. 1470 * @param uOffsetOffset to start reading from.1459 * @param off Offset to start reading from. 1471 1460 * @param pvBuf here to store the read bits. 1472 1461 * @param cbWrite Number of bytes to read. … … 1474 1463 * @thread Any thread. 1475 1464 */ 1476 DECLR3CALLBACKMEMBER(int, pfnWriteSynchronous, (PPDMITRANSPORTASYNC pInterface, uint64_t uOffset, void *pvBuf, size_t cbWrite, size_t *pcbWritten));1465 DECLR3CALLBACKMEMBER(int, pfnWriteSynchronous, (PPDMITRANSPORTASYNC pInterface, uint64_t off, void *pvBuf, size_t cbWrite, size_t *pcbWritten)); 1477 1466 1478 1467 /** … … 1552 1541 1553 1542 } PDMITRANSPORTASYNC; 1543 1554 1544 1555 1545 /** @name Bit mask definitions for status line type … … 1561 1551 /** @} */ 1562 1552 1563 1564 1553 /** Pointer to a char port interface. */ 1565 1554 typedef struct PDMICHARPORT *PPDMICHARPORT; … … 1591 1580 DECLR3CALLBACKMEMBER(int, pfnNotifyStatusLinesChanged,(PPDMICHARPORT pInterface, uint32_t fNewStatusLines)); 1592 1581 } PDMICHARPORT; 1582 1593 1583 1594 1584 /** Pointer to a char interface. */ … … 1672 1662 /** Pointer to a host device port interface. */ 1673 1663 typedef struct PDMIHOSTDEVICEPORT *PPDMIHOSTDEVICEPORT; 1674 1675 1664 /** 1676 1665 * Char port interface. … … 1691 1680 } PDMIHOSTDEVICEPORT; 1692 1681 1682 1693 1683 /** Pointer to a Host Device connector interface. */ 1694 1684 typedef struct PDMIHOSTDEVICECONNECTOR *PPDMIHOSTDEVICECONNECTOR; 1695 1696 1685 /** 1697 1686 * Host device connector interface
Note:
See TracChangeset
for help on using the changeset viewer.