Changeset 45030 in vbox for trunk/src/VBox/Main/src-client/PCIRawDevImpl.cpp
- Timestamp:
- Mar 13, 2013 8:58:12 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/PCIRawDevImpl.cpp
r45029 r45030 119 119 { 120 120 PDMDRV_CHECK_VERSIONS_RETURN_VOID(pDrvIns); 121 PDRVMAINPCIRAWDEV p Data= PDMINS_2_DATA(pDrvIns, PDRVMAINPCIRAWDEV);122 123 if (p Data->pPCIRawDev)124 p Data->pPCIRawDev->mpDrv = NULL;121 PDRVMAINPCIRAWDEV pThis = PDMINS_2_DATA(pDrvIns, PDRVMAINPCIRAWDEV); 122 123 if (pThis->pPCIRawDev) 124 pThis->pPCIRawDev->mpDrv = NULL; 125 125 } 126 126 … … 132 132 { 133 133 PDMDRV_CHECK_VERSIONS_RETURN(pDrvIns); 134 PDRVMAINPCIRAWDEV p Data= PDMINS_2_DATA(pDrvIns, PDRVMAINPCIRAWDEV);134 PDRVMAINPCIRAWDEV pThis = PDMINS_2_DATA(pDrvIns, PDRVMAINPCIRAWDEV); 135 135 136 136 /* … … 152 152 * IConnector. 153 153 */ 154 p Data->IConnector.pfnDeviceConstructComplete = PCIRawDev::drvDeviceConstructComplete;154 pThis->IConnector.pfnDeviceConstructComplete = PCIRawDev::drvDeviceConstructComplete; 155 155 156 156 /* … … 165 165 } 166 166 167 p Data->pPCIRawDev = (PCIRawDev *)pv;168 p Data->pPCIRawDev->mpDrv = pData;167 pThis->pPCIRawDev = (PCIRawDev *)pv; 168 pThis->pPCIRawDev->mpDrv = pThis; 169 169 170 170 return VINF_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.