Changeset 62906 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Aug 3, 2016 11:20:21 AM (8 years ago)
- Location:
- trunk/src/VBox/Devices/Network
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DrvDedicatedNic.cpp
r62632 r62906 302 302 303 303 #else /* IN_RING3 */ 304 NOREF(fOnWorkerThread); 305 304 306 /* 305 307 * Call ring-0 to start the transfer. … … 399 401 { 400 402 LogFlow(("drvR3DedicatedNicPowerOff\n")); 401 PDRVDEDICATEDNIC pThis = PDMINS_2_DATA(pDrvIns, PDRVDEDICATEDNIC);402 403 403 int rc = PDMDrvHlpCallR0(pDrvIns, DRVDEDICATEDNICR0OP_SUSPEND, 0); 404 404 AssertRC(rc); … … 412 412 { 413 413 LogFlow(("drvR3DedicatedNicPowerResume\n")); 414 PDRVDEDICATEDNIC pThis = PDMINS_2_DATA(pDrvIns, PDRVDEDICATEDNIC);415 416 414 int rc = PDMDrvHlpCallR0(pDrvIns, DRVDEDICATEDNICR0OP_RESUME, 0); 417 415 AssertRC(rc); … … 425 423 { 426 424 LogFlow(("drvR3DedicatedNicPowerSuspend\n")); 427 PDRVDEDICATEDNIC pThis = PDMINS_2_DATA(pDrvIns, PDRVDEDICATEDNIC);428 429 425 int rc = PDMDrvHlpCallR0(pDrvIns, DRVDEDICATEDNICR0OP_SUSPEND, 0); 430 426 AssertRC(rc); … … 438 434 { 439 435 LogFlow(("drvR3DedicatedNicPowerOn\n")); 440 PDRVDEDICATEDNIC pThis = PDMINS_2_DATA(pDrvIns, PDRVDEDICATEDNIC);441 442 436 int rc = PDMDrvHlpCallR0(pDrvIns, DRVDEDICATEDNICR0OP_RESUME, 0); 443 437 AssertRC(rc); … … 467 461 static DECLCALLBACK(int) drvR3DedicatedNicConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg, uint32_t fFlags) 468 462 { 463 RT_NOREF(pCfg, fFlags); 464 PDMDRV_CHECK_VERSIONS_RETURN(pDrvIns); 469 465 PDRVDEDICATEDNIC pThis = PDMINS_2_DATA(pDrvIns, PDRVDEDICATEDNIC); 470 PDMDRV_CHECK_VERSIONS_RETURN(pDrvIns);471 466 472 467 /* -
trunk/src/VBox/Devices/Network/DrvIntNet.cpp
r62610 r62906 642 642 static DECLCALLBACK(int) drvR3IntNetXmitWakeUp(PPDMDRVINS pDrvIns, PPDMTHREAD pThread) 643 643 { 644 RT_NOREF(pThread); 644 645 PDRVINTNET pThis = PDMINS_2_DATA(pDrvIns, PDRVINTNET); 645 646 return SUPSemEventSignal(pThis->pSupDrvSession, pThis->hXmitEvt); … … 872 873 * 873 874 * @returns VINF_SUCCESS (ignored). 874 * @param ThreadSelfThread handle.875 * @param hThreadSelf Thread handle. 875 876 * @param pvUser Pointer to a DRVINTNET structure. 876 877 */ 877 static DECLCALLBACK(int) drvR3IntNetRecvThread(RTTHREAD ThreadSelf, void *pvUser) 878 { 878 static DECLCALLBACK(int) drvR3IntNetRecvThread(RTTHREAD hThreadSelf, void *pvUser) 879 { 880 RT_NOREF(hThreadSelf); 879 881 PDRVINTNET pThis = (PDRVINTNET)pvUser; 880 882 LogFlow(("drvR3IntNetRecvThread: pThis=%p\n", pThis)); … … 934 936 #if 0 935 937 PDMIBASERC_RETURN_INTERFACE(pThis->pDrvInsR3, pszIID, PDMINETWORKUP, &pThis->INetworkUpRC); 938 #else 939 RT_NOREF(pThis, pszIID); 936 940 #endif 937 941 return NIL_RTRCPTR; … … 1149 1153 { 1150 1154 /* nothing to do here yet */ 1155 RT_NOREF(pDrvIns, offDelta); 1151 1156 } 1152 1157 … … 1186 1191 AbortWaitReq.fNoMoreWaits = true; 1187 1192 int rc = PDMDrvHlpSUPCallVMMR0Ex(pDrvIns, VMMR0_DO_INTNET_IF_ABORT_WAIT, &AbortWaitReq, sizeof(AbortWaitReq)); 1188 AssertMsg(RT_SUCCESS(rc) || rc == VERR_SEM_DESTROYED, ("%Rrc\n", rc)); 1193 AssertMsg(RT_SUCCESS(rc) || rc == VERR_SEM_DESTROYED, ("%Rrc\n", rc)); RT_NOREF_PV(rc); 1189 1194 } 1190 1195 … … 1347 1352 static DECLCALLBACK(int) drvR3IntNetConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg, uint32_t fFlags) 1348 1353 { 1354 RT_NOREF(fFlags); 1355 PDMDRV_CHECK_VERSIONS_RETURN(pDrvIns); 1349 1356 PDRVINTNET pThis = PDMINS_2_DATA(pDrvIns, PDRVINTNET); 1350 1357 bool f; 1351 PDMDRV_CHECK_VERSIONS_RETURN(pDrvIns);1352 1358 1353 1359 /*
Note:
See TracChangeset
for help on using the changeset viewer.