Changeset 62610 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Jul 27, 2016 5:01:48 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 109179
- Location:
- trunk/src/VBox/Devices/Network
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DevPCNet.cpp
r62511 r62610 1031 1031 padr[0],padr[1],padr[2],padr[3],padr[4],padr[5], result)); 1032 1032 #endif 1033 RT_NOREF_PV(size); 1033 1034 return result; 1034 1035 } … … 1042 1043 Log(("#%d padr_bcast result=%d\n", PCNET_INST_NR, result)); 1043 1044 #endif 1045 RT_NOREF_PV(size); 1044 1046 return result; 1045 1047 } … … 1068 1070 #endif 1069 1071 } 1072 RT_NOREF_PV(size); 1070 1073 return 0; 1071 1074 } … … 2620 2623 static int pcnetXmitPending(PPCNETSTATE pThis, bool fOnWorkerThread) 2621 2624 { 2622 int rc = VINF_SUCCESS; 2625 RT_NOREF_PV(fOnWorkerThread); 2626 int rc; 2623 2627 2624 2628 /* … … 3302 3306 STAM_PROFILE_ADV_START(&pThis->StatAPROMRead, a); 3303 3307 Assert(PDMCritSectIsOwner(&pThis->CritSect)); 3304 3308 RT_NOREF_PV(pvUser); 3305 3309 3306 3310 /* FreeBSD is accessing in dwords. */ … … 3335 3339 int rc = VINF_SUCCESS; 3336 3340 Assert(PDMCritSectIsOwner(&pThis->CritSect)); 3341 RT_NOREF_PV(pvUser); 3337 3342 3338 3343 if (cb == 1) … … 3569 3574 STAM_PROFILE_ADV_START(&pThis->CTX_SUFF_Z(StatIORead), a); 3570 3575 Assert(PDMCritSectIsOwner(&pThis->CritSect)); 3576 RT_NOREF_PV(pvUser); 3571 3577 3572 3578 switch (cb) … … 3596 3602 STAM_PROFILE_ADV_START(&pThis->CTX_SUFF_Z(StatIOWrite), a); 3597 3603 Assert(PDMCritSectIsOwner(&pThis->CritSect)); 3604 RT_NOREF_PV(pvUser); 3598 3605 3599 3606 switch (cb) … … 3717 3724 int rc = VINF_SUCCESS; 3718 3725 Assert(PDMCritSectIsOwner(&pThis->CritSect)); 3726 RT_NOREF_PV(pDevIns); 3719 3727 3720 3728 /* … … 3753 3761 int rc = VINF_SUCCESS; 3754 3762 Assert(PDMCritSectIsOwner(&pThis->CritSect)); 3763 RT_NOREF_PV(pDevIns); 3755 3764 3756 3765 /* -
trunk/src/VBox/Devices/Network/DrvDedicatedNic.cpp
r62511 r62610 140 140 PDMBOTHCBDECL(int) drvR0DedicatedNicReqHandler(PPDMDRVINS pDrvIns, uint32_t uOperation, uint64_t u64Arg) 141 141 { 142 RT_NOREF_PV(pDrvIns); RT_NOREF_PV(u64Arg); 142 143 switch ((DRVDEDICATEDNICR0OP)uOperation) 143 144 { … … 205 206 #ifdef IN_RING0 206 207 /** @todo Ask the driver for a buffer, atomically if we're called on EMT. */ 208 RT_NOREF_PV(cbMin); RT_NOREF_PV(pGso); RT_NOREF_PV(ppSgBuf); 207 209 return VERR_TRY_AGAIN; 208 210 … … 294 296 * Tell the driver to send the packet. 295 297 */ 296 NOREF(pThis);298 RT_NOREF_PV(pThis); RT_NOREF_PV(pSgBuf); RT_NOREF_PV(fOnWorkerThread); 297 299 return VERR_INTERNAL_ERROR_4; 298 300 … … 328 330 PDRVDEDICATEDNIC pThis = RT_FROM_MEMBER(pInterface, DRVDEDICATEDNIC, CTX_SUFF(INetworkUp)); 329 331 /** @todo enable/disable promiscuous mode (should be easy) */ 330 NOREF(pThis); 332 NOREF(pThis); RT_NOREF_PV(fPromiscuous); 331 333 } 332 334 … … 464 466 { 465 467 PDRVDEDICATEDNIC pThis = PDMINS_2_DATA(pDrvIns, PDRVDEDICATEDNIC); 466 bool f;467 468 PDMDRV_CHECK_VERSIONS_RETURN(pDrvIns); 468 469 -
trunk/src/VBox/Devices/Network/DrvIntNet.cpp
r62511 r62610 488 488 PDRVINTNET pThis = RT_FROM_MEMBER(pInterface, DRVINTNET, CTX_SUFF(INetworkUp)); 489 489 STAM_PROFILE_START(&pThis->StatTransmit, a); 490 RT_NOREF_PV(fOnWorkerThread); 490 491 491 492 AssertPtr(pSgBuf); … … 776 777 } 777 778 #endif 778 for ( size_t iSeg = 0; iSeg < cSegs; iSeg++)779 for (uint32_t iSeg = 0; iSeg < cSegs; iSeg++) 779 780 { 780 781 uint32_t cbSegFrame; 781 void *pvSegFrame = PDMNetGsoCarveSegmentQD(pGso, (uint8_t *)(pGso + 1), cbFrame, abHdrScratch,782 iSeg, cSegs, &cbSegFrame);782 void *pvSegFrame = PDMNetGsoCarveSegmentQD(pGso, (uint8_t *)(pGso + 1), cbFrame, 783 abHdrScratch, iSeg, cSegs, &cbSegFrame); 783 784 rc = drvR3IntNetRecvWaitForSpace(pThis); 784 785 if (RT_FAILURE(rc))
Note:
See TracChangeset
for help on using the changeset viewer.