- Timestamp:
- Jul 27, 2016 5:01:48 PM (8 years ago)
- Location:
- trunk/src/VBox/Devices
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/DevSmc.cpp
r62500 r62610 488 488 PDEVSMC pThis = PDMINS_2_DATA(pDevIns, PDEVSMC); 489 489 int rc = VERR_INVALID_FUNCTION; 490 RT_NOREF_PV(u64Arg); 490 491 491 492 if (uOperation == SMC_CALLR0_READ_OSK) -
trunk/src/VBox/Devices/Graphics/DevVGA.cpp
r62514 r62610 3579 3579 Assert(GCPhysFault >= pThis->GCPhysVRAM); 3580 3580 AssertMsg(uErrorCode & X86_TRAP_PF_RW, ("uErrorCode=%#x\n", uErrorCode)); 3581 NOREF(pRegFrame); 3581 NOREF(pRegFrame); RT_NOREF_PV(pVCpu); 3582 3582 3583 3583 return vgaLFBAccess(pVM, pThis, GCPhysFault, pvFault); -
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)) -
trunk/src/VBox/Devices/PC/DevIoApic.cpp
r62563 r62610 772 772 PIOAPIC pThis = PDMINS_2_DATA(pDevIns, PIOAPIC); 773 773 STAM_COUNTER_INC(&pThis->CTX_SUFF_Z(StatMmioRead)); 774 Assert(cb == 4); RT_NOREF_PV(cb); /* registered for dwords only */ 775 RT_NOREF_PV(pvUser); 774 776 775 777 int rc = VINF_SUCCESS; … … 803 805 { 804 806 PIOAPIC pThis = PDMINS_2_DATA(pDevIns, PIOAPIC); 807 RT_NOREF_PV(pvUser); 805 808 806 809 STAM_COUNTER_INC(&pThis->CTX_SUFF_Z(StatMmioWrite)); 807 810 808 811 Assert(!(GCPhysAddr & 3)); 809 Assert(cb == 4); 812 Assert(cb == 4); RT_NOREF_PV(cb); /* registered for dwords only */ 810 813 811 814 uint32_t const uValue = *(uint32_t const *)pv; -
trunk/src/VBox/Devices/Parallel/DevParallel.cpp
r62510 r62610 323 323 PARALLELPORT *pThis = PDMINS_2_DATA(pDevIns, PPARALLELPORT); 324 324 int rc = VINF_SUCCESS; 325 RT_NOREF_PV(pvUser); 325 326 326 327 if (cb == 1) … … 429 430 PARALLELPORT *pThis = PDMINS_2_DATA(pDevIns, PARALLELPORT *); 430 431 int rc = VINF_SUCCESS; 432 RT_NOREF_PV(pvUser); 431 433 432 434 if (cb == 1) -
trunk/src/VBox/Devices/Serial/DevSerial.cpp
r62507 r62610 443 443 static int serial_ioport_write(PDEVSERIAL pThis, uint32_t addr, uint32_t val) 444 444 { 445 addr &= 7;446 447 445 #ifndef IN_RING3 448 NOREF(pThis); 446 NOREF(pThis); RT_NOREF_PV(addr); RT_NOREF_PV(val); 449 447 return VINF_IOM_R3_IOPORT_WRITE; 450 448 #else 449 addr &= 7; 451 450 switch(addr) { 452 451 default: … … 859 858 int rc; 860 859 Assert(PDMCritSectIsOwner(&pThis->CritSect)); 860 RT_NOREF_PV(pvUser); 861 861 862 862 if (cb == 1) … … 883 883 int rc; 884 884 Assert(PDMCritSectIsOwner(&pThis->CritSect)); 885 RT_NOREF_PV(pvUser); 885 886 886 887 if (cb == 1) -
trunk/src/VBox/Devices/VMMDev/VMMDevTesting.cpp
r62503 r62610 52 52 PDMBOTHCBDECL(int) vmmdevTestingMmioWrite(PPDMDEVINS pDevIns, void *pvUser, RTGCPHYS GCPhysAddr, void const *pv, unsigned cb) 53 53 { 54 RT_NOREF_PV(pvUser); 55 54 56 switch (GCPhysAddr) 55 57 { … … 127 129 PDMBOTHCBDECL(int) vmmdevTestingMmioRead(PPDMDEVINS pDevIns, void *pvUser, RTGCPHYS GCPhysAddr, void *pv, unsigned cb) 128 130 { 131 RT_NOREF_PV(pvUser); 132 129 133 switch (GCPhysAddr) 130 134 { … … 292 296 { 293 297 VMMDevState *pThis = PDMINS_2_DATA(pDevIns, VMMDevState *); 298 RT_NOREF_PV(pvUser); 294 299 295 300 switch (Port) … … 591 596 { 592 597 VMMDevState *pThis = PDMINS_2_DATA(pDevIns, VMMDevState *); 598 RT_NOREF_PV(pvUser); 593 599 594 600 switch (Port)
Note:
See TracChangeset
for help on using the changeset viewer.