Changeset 8374 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Apr 24, 2008 10:12:12 PM (17 years ago)
- Location:
- trunk/src/VBox/Devices
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DrvBlock.cpp
r8155 r8374 260 260 261 261 /** @copydoc PDMIBLOCKASYNC::pfnRead */ 262 static DECLCALLBACK(int) drvblockAsyncReadStart(PPDMIBLOCKASYNC pInterface, uint64_t off, void *pvBuf, size_t cbRead, void *pvUser)262 static DECLCALLBACK(int) drvblockAsyncReadStart(PPDMIBLOCKASYNC pInterface, uint64_t off, PPDMIDATATRANSPORTSEG pSeg, unsigned cSeg, size_t cbRead, void *pvUser) 263 263 { 264 264 PDRVBLOCK pData = PDMIBLOCKASYNC_2_DRVBLOCK(pInterface); … … 273 273 } 274 274 275 int rc = pData->pDrvMediaAsync->pfnStartRead(pData->pDrvMediaAsync, off, p vBuf, cbRead, pvUser);275 int rc = pData->pDrvMediaAsync->pfnStartRead(pData->pDrvMediaAsync, off, pSeg, cSeg, cbRead, pvUser); 276 276 return rc; 277 277 } … … 279 279 280 280 /** @copydoc PDMIBLOCKASYNC::pfnWrite */ 281 static DECLCALLBACK(int) drvblockAsyncWriteStart(PPDMIBLOCKASYNC pInterface, uint64_t off, const void *pvBuf, size_t cbWrite, void *pvUser)281 static DECLCALLBACK(int) drvblockAsyncWriteStart(PPDMIBLOCKASYNC pInterface, uint64_t off, PPDMIDATATRANSPORTSEG pSeg, unsigned cSeg, size_t cbWrite, void *pvUser) 282 282 { 283 283 PDRVBLOCK pData = PDMIBLOCKASYNC_2_DRVBLOCK(pInterface); … … 292 292 } 293 293 294 int rc = pData->pDrvMediaAsync->pfnStartWrite(pData->pDrvMediaAsync, off, p vBuf, cbWrite, pvUser);294 int rc = pData->pDrvMediaAsync->pfnStartWrite(pData->pDrvMediaAsync, off, pSeg, cSeg, cbWrite, pvUser); 295 295 296 296 return rc; … … 303 303 304 304 305 static DECLCALLBACK(int) drvblockAsyncReadCompleteNotify(PPDMIMEDIAASYNCPORT pInterface, uint64_t uOffset, void *pvBuf, size_t cbRead, void *pvUser)305 static DECLCALLBACK(int) drvblockAsyncReadCompleteNotify(PPDMIMEDIAASYNCPORT pInterface, uint64_t uOffset, PPDMIDATATRANSPORTSEG pSeg, unsigned cSeg, size_t cbRead, void *pvUser) 306 306 { 307 307 PDRVBLOCK pData = PDMIMEDIAASYNCPORT_2_DRVBLOCK(pInterface); 308 308 309 return pData->pDrvBlockAsyncPort->pfnReadCompleteNotify(pData->pDrvBlockAsyncPort, uOffset, p vBuf, cbRead, pvUser);310 } 311 312 static DECLCALLBACK(int) drvblockAsyncWriteCompleteNotify(PPDMIMEDIAASYNCPORT pInterface, uint64_t uOffset, void *pvBuf, size_t cbWritten, void *pvUser)309 return pData->pDrvBlockAsyncPort->pfnReadCompleteNotify(pData->pDrvBlockAsyncPort, uOffset, pSeg, cSeg, cbRead, pvUser); 310 } 311 312 static DECLCALLBACK(int) drvblockAsyncWriteCompleteNotify(PPDMIMEDIAASYNCPORT pInterface, uint64_t uOffset, PPDMIDATATRANSPORTSEG pSeg, unsigned cSeg, size_t cbWritten, void *pvUser) 313 313 { 314 314 PDRVBLOCK pData = PDMIMEDIAASYNCPORT_2_DRVBLOCK(pInterface); … … 326 326 #endif /* VBOX_PERIODIC_FLUSH */ 327 327 328 return pData->pDrvBlockAsyncPort->pfnWriteCompleteNotify(pData->pDrvBlockAsyncPort, uOffset, p vBuf, cbWritten, pvUser);328 return pData->pDrvBlockAsyncPort->pfnWriteCompleteNotify(pData->pDrvBlockAsyncPort, uOffset, pSeg, cSeg, cbWritten, pvUser); 329 329 } 330 330 -
trunk/src/VBox/Devices/testcase/tstDeviceStructSizeGC.cpp
r8155 r8374 912 912 GEN_CHECK_OFF(AHCIPort, iLUN); 913 913 GEN_CHECK_OFF(AHCIPort, fResetDevice); 914 GEN_CHECK_OFF(AHCIPort, cbIOBuffer);915 GEN_CHECK_OFF(AHCIPort, pIOBufferHC);916 914 GEN_CHECK_OFF(AHCIPort, u32TasksFinished); 917 915 GEN_CHECK_OFF(AHCIPort, u32QueuedTasksFinished);
Note:
See TracChangeset
for help on using the changeset viewer.