Changeset 91871 in vbox
- Timestamp:
- Oct 20, 2021 9:06:26 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/USB/DrvVUSBRootHub.cpp
r83617 r91871 1270 1270 RT_NOREF(fFlags); 1271 1271 PDMDRV_CHECK_VERSIONS_RETURN(pDrvIns); 1272 PVUSBROOTHUB pThis = PDMINS_2_DATA(pDrvIns, PVUSBROOTHUB); 1273 PCPDMDRVHLPR3 pHlp = pDrvIns->pHlpR3; 1274 1272 1275 LogFlow(("vusbRhConstruct: Instance %d\n", pDrvIns->iInstance)); 1273 PVUSBROOTHUB pThis = PDMINS_2_DATA(pDrvIns, PVUSBROOTHUB);1274 1276 1275 1277 /* 1276 1278 * Validate configuration. 1277 1279 */ 1278 if (!CFGMR3AreValuesValid(pCfg, "CaptureFilename\0")) 1279 return VERR_PDM_DRVINS_UNKNOWN_CFG_VALUES; 1280 PDMDRV_VALIDATE_CONFIG_RETURN(pDrvIns, "CaptureFilename", ""); 1280 1281 1281 1282 /* … … 1294 1295 1295 1296 char *pszCaptureFilename = NULL; 1296 rc = CFGMR3QueryStringAlloc(pCfg, "CaptureFilename", &pszCaptureFilename);1297 rc = pHlp->pfnCFGMQueryStringAlloc(pCfg, "CaptureFilename", &pszCaptureFilename); 1297 1298 if ( RT_FAILURE(rc) 1298 1299 && rc != VERR_CFGM_VALUE_NOT_FOUND) … … 1383 1384 * The current implementation uses the VUSBIRHCONFIG interface for communication. 1384 1385 */ 1385 PCPDMUSBHUBHLP pHlp ; /* not used currently */1386 rc = PDMDrvHlpUSBRegisterHub(pDrvIns, pThis->fHcVersions, pThis->Hub.cPorts, &g_vusbHubReg, &pHlp );1386 PCPDMUSBHUBHLP pHlpUsb; /* not used currently */ 1387 rc = PDMDrvHlpUSBRegisterHub(pDrvIns, pThis->fHcVersions, pThis->Hub.cPorts, &g_vusbHubReg, &pHlpUsb); 1387 1388 if (RT_FAILURE(rc)) 1388 1389 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.