Changeset 57527 in vbox
- Timestamp:
- Aug 25, 2015 10:23:56 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DrvDiskIntegrity.cpp
r57358 r57527 1155 1155 } 1156 1156 1157 /** @copydoc PDMIMEDIA::pfnIoBufAlloc */ 1158 static DECLCALLBACK(int) drvdiskintIoBufAlloc(PPDMIMEDIA pInterface, size_t cb, void **ppvNew) 1159 { 1160 LogFlowFunc(("\n")); 1161 PDRVDISKINTEGRITY pThis = PDMIMEDIA_2_DRVDISKINTEGRITY(pInterface); 1162 1163 return pThis->pDrvMedia->pfnIoBufAlloc(pThis->pDrvMedia, cb, ppvNew); 1164 } 1165 1166 /** @copydoc PDMIMEDIA::pfnIoBufFree */ 1167 static DECLCALLBACK(int) drvdiskintIoBufFree(PPDMIMEDIA pInterface, void *pv, size_t cb) 1168 { 1169 LogFlowFunc(("\n")); 1170 PDRVDISKINTEGRITY pThis = PDMIMEDIA_2_DRVDISKINTEGRITY(pInterface); 1171 1172 return pThis->pDrvMedia->pfnIoBufFree(pThis->pDrvMedia, pv, cb); 1173 } 1174 1175 /** @copydoc PDMIMEDIA::pfnReadPcBios */ 1176 static DECLCALLBACK(int) drvdiskintReadPcBios(PPDMIMEDIA pInterface, 1177 uint64_t off, void *pvBuf, size_t cbRead) 1178 { 1179 LogFlowFunc(("\n")); 1180 PDRVDISKINTEGRITY pThis = PDMIMEDIA_2_DRVDISKINTEGRITY(pInterface); 1181 1182 return pThis->pDrvMedia->pfnReadPcBios(pThis->pDrvMedia, off, pvBuf, cbRead); 1183 } 1184 1157 1185 /* -=-=-=-=- IMediaAsyncPort -=-=-=-=- */ 1158 1186 … … 1389 1417 pThis->IMedia.pfnGetUuid = drvdiskintGetUuid; 1390 1418 pThis->IMedia.pfnGetSectorSize = drvdiskintGetSectorSize; 1419 pThis->IMedia.pfnIoBufAlloc = drvdiskintIoBufAlloc; 1420 pThis->IMedia.pfnIoBufFree = drvdiskintIoBufFree; 1421 pThis->IMedia.pfnReadPcBios = drvdiskintReadPcBios; 1391 1422 1392 1423 /* IMediaAsync */
Note:
See TracChangeset
for help on using the changeset viewer.