- Timestamp:
- Jul 28, 2016 10:19:37 PM (8 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/CSAMAll.cpp
r62601 r62654 83 83 int rc = PATMR3PatchWrite(pVM, GCPtr, (uint32_t)cbBuf); 84 84 AssertRC(rc); 85 RT_NOREF_PV(pVCpu); 85 86 return VINF_PGM_HANDLER_DO_DEFAULT; 86 87 -
trunk/src/VBox/VMM/VMMAll/PATMAll.cpp
r62601 r62654 52 52 Assert(enmAccessType == PGMACCESSTYPE_WRITE); NOREF(enmAccessType); 53 53 NOREF(pvPtr); NOREF(pvBuf); NOREF(cbBuf); NOREF(enmOrigin); NOREF(pvUser); 54 RT_NOREF_PV(pVCpu); 54 55 55 56 Assert(pvUser); … … 63 64 #else 64 65 /* RC: Go handle this in ring-3. */ 65 RT_NOREF_PV(pVCpu);66 66 return VINF_PATM_CHECK_PATCH_PAGE; 67 67 #endif -
trunk/src/VBox/VMM/VMMAll/TMAllCpu.cpp
r62478 r62654 318 318 AssertCompile(TMCLOCK_FREQ_VIRTUAL <= _4G); 319 319 #ifdef IN_RING3 320 RT_NOREF_PV(pVCpu); 320 321 uint64_t uCpuHz = SUPGetCpuHzFromGip(g_pSUPGlobalInfoPage); 321 322 #else -
trunk/src/VBox/VMM/VMMR3/PDMAsyncCompletion.cpp
r62478 r62654 260 260 const char *pszDesc) 261 261 { 262 LogFlow(("PDMR3AsyncCompletionTemplateCreateDriver: pDrvIns=%p ppTemplate=%p pfnCompleted=%p pszDesc=%s\n", pDrvIns, ppTemplate, pfnCompleted, pszDesc)); 262 LogFlow(("PDMR3AsyncCompletionTemplateCreateDriver: pDrvIns=%p ppTemplate=%p pfnCompleted=%p pszDesc=%s\n", 263 pDrvIns, ppTemplate, pfnCompleted, pszDesc)); 264 RT_NOREF_PV(pszDesc); /** @todo async template description */ 263 265 264 266 /* … … 346 348 * @internal 347 349 */ 348 VMMR3DECL(int) PDMR3AsyncCompletionTemplateCreateInternal(PVM pVM, PPPDMASYNCCOMPLETIONTEMPLATE ppTemplate, PFNPDMASYNCCOMPLETEINT pfnCompleted, void *pvUser2, const char *pszDesc) 349 { 350 LogFlow(("%s: ppTemplate=%p pfnCompleted=%p pvUser2=%p pszDesc=%s\n", 351 __FUNCTION__, ppTemplate, pfnCompleted, pvUser2, pszDesc)); 350 VMMR3DECL(int) PDMR3AsyncCompletionTemplateCreateInternal(PVM pVM, PPPDMASYNCCOMPLETIONTEMPLATE ppTemplate, 351 PFNPDMASYNCCOMPLETEINT pfnCompleted, void *pvUser2, const char *pszDesc) 352 { 353 LogFlow(("PDMR3AsyncCompletionTemplateCreateInternal: ppTemplate=%p pfnCompleted=%p pvUser2=%p pszDesc=%s\n", 354 ppTemplate, pfnCompleted, pvUser2, pszDesc)); 355 RT_NOREF_PV(pszDesc); /** @todo async template description */ 356 352 357 353 358 /* … … 858 863 /* Create all bandwidth groups for resource control. */ 859 864 PCFGMNODE pCfgBwGrp = CFGMR3GetChild(pCfgNodeClass, "BwGroups"); 860 861 865 if (pCfgBwGrp) 862 866 { 863 867 for (PCFGMNODE pCur = CFGMR3GetFirstChild(pCfgBwGrp); pCur; pCur = CFGMR3GetNextChild(pCur)) 864 868 { 865 uint32_t cbMax, cbStart, cbStep; 866 size_t cchName = CFGMR3GetNameLen(pCur) + 1; 867 char *pszBwGrpId = (char *)RTMemAllocZ(cchName); 868 869 if (!pszBwGrpId) 869 size_t cbName = CFGMR3GetNameLen(pCur) + 1; 870 char *pszBwGrpId = (char *)RTMemAllocZ(cbName); 871 if (pszBwGrpId) 870 872 { 873 rc = CFGMR3GetName(pCur, pszBwGrpId, cbName); 874 if (RT_SUCCESS(rc)) 875 { 876 uint32_t cbMax; 877 rc = CFGMR3QueryU32(pCur, "Max", &cbMax); 878 if (RT_SUCCESS(rc)) 879 { 880 uint32_t cbStart; 881 rc = CFGMR3QueryU32Def(pCur, "Start", &cbStart, cbMax); 882 if (RT_SUCCESS(rc)) 883 { 884 uint32_t cbStep; 885 rc = CFGMR3QueryU32Def(pCur, "Step", &cbStep, 0); 886 if (RT_SUCCESS(rc)) 887 rc = pdmacAsyncCompletionBwMgrCreate(pEndpointClass, pszBwGrpId, 888 cbMax, cbStart, cbStep); 889 } 890 } 891 } 892 RTMemFree(pszBwGrpId); 893 } 894 else 871 895 rc = VERR_NO_MEMORY; 872 break;873 }874 875 rc = CFGMR3GetName(pCur, pszBwGrpId, cchName);876 AssertRC(rc);877 878 if (RT_SUCCESS(rc))879 rc = CFGMR3QueryU32(pCur, "Max", &cbMax);880 if (RT_SUCCESS(rc))881 rc = CFGMR3QueryU32Def(pCur, "Start", &cbStart, cbMax);882 if (RT_SUCCESS(rc))883 rc = CFGMR3QueryU32Def(pCur, "Step", &cbStep, 0);884 if (RT_SUCCESS(rc))885 rc = pdmacAsyncCompletionBwMgrCreate(pEndpointClass, pszBwGrpId, cbMax, cbStart, cbStep);886 887 RTMemFree(pszBwGrpId);888 889 896 if (RT_FAILURE(rc)) 890 897 break; 891 898 } 892 899 } 893 894 900 if (RT_SUCCESS(rc)) 895 901 { … … 1507 1513 1508 1514 PPDMASYNCCOMPLETIONEPCLASS pEndpointClass = pEndpoint->pEpClass; 1509 PVM pVM = pEndpointClass->pVM;1510 1511 1515 pEndpointClass->pEndpointOps->pfnEpClose(pEndpoint); 1512 1516 -
trunk/src/VBox/VMM/VMMR3/PDMUsb.cpp
r62478 r62654 529 529 /** @todo r=bird: This code is bogus as it ASSUMES that all USB devices are 530 530 * capable of infinite number of instances. */ 531 rc = VINF_SUCCESS; /* Shut up stupid incorrect uninitialized warning from Visual C++ 2010. */ 531 532 for (unsigned c = 0; c < _2M; c++) 532 533 { … … 1616 1617 1617 1618 /** @interface_method_impl{PDMUSBHLP,pfnDBGFInfoRegister} */ 1618 static DECLCALLBACK(int) pdmR3UsbHlp_DBGFInfoRegister(PPDMUSBINS pUsbIns, const char *pszName, const char *pszDesc, PFNDBGFHANDLERUSB pfnHandler) 1619 static DECLCALLBACK(int) pdmR3UsbHlp_DBGFInfoRegister(PPDMUSBINS pUsbIns, const char *pszName, const char *pszDesc, 1620 PFNDBGFHANDLERUSB pfnHandler) 1619 1621 { 1620 1622 PDMUSB_ASSERT_USBINS(pUsbIns); … … 1624 1626 PVM pVM = pUsbIns->Internal.s.pVM; 1625 1627 VM_ASSERT_EMT(pVM); 1626 NOREF(pVM); /** @todo int rc = DBGFR3InfoRegisterUsb(pVM, pszName, pszDesc, pfnHandler, pUsbIns); */1628 RT_NOREF4(pVM, pfnHandler, pszDesc, pszName); /** @todo int rc = DBGFR3InfoRegisterUsb(pVM, pszName, pszDesc, pfnHandler, pUsbIns); */ 1627 1629 int rc = VERR_NOT_IMPLEMENTED; AssertFailed(); 1628 1630 … … 1675 1677 } 1676 1678 1679 RT_NOREF5(cbItem, cItems, cMilliesInterval, pfnCallback, ppQueue); 1677 1680 /** @todo int rc = PDMR3QueueCreateUsb(pVM, pUsbIns, cbItem, cItems, cMilliesInterval, pfnCallback, fGCEnabled, pszName, ppQueue); */ 1678 1681 int rc = VERR_NOT_IMPLEMENTED; AssertFailed();
Note:
See TracChangeset
for help on using the changeset viewer.