- Timestamp:
- Oct 21, 2021 6:12:53 PM (3 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/GIMDev/GIMDev.cpp
r91968 r91980 389 389 */ 390 390 /** @todo r=bird: consider ditching this as GIM doesn't actually make use of it */ 391 PVMCC pVM = PDMDevHlpGetVM(pDevIns);392 391 uint32_t cRegions = 0; 393 PGIMMMIO2REGION paRegions = GIMGetMmio2Regions(pVM, &cRegions);392 PGIMMMIO2REGION paRegions = PDMDevHlpGIMGetMmio2Regions(pDevIns, &cRegions); 394 393 if ( cRegions 395 394 && paRegions) -
trunk/src/VBox/VMM/VMMR0/PDMR0DevHlp.cpp
r91930 r91980 1362 1362 pDevIns->pReg->szName, pDevIns->iInstance, rc)); 1363 1363 return rc; 1364 } 1365 1366 1367 /** @interface_method_impl{PDMDEVHLPR0,pfnGIMGetMmio2Regions} */ 1368 static DECLCALLBACK(PGIMMMIO2REGION) pdmR0DevHlp_GIMGetMmio2Regions(PPDMDEVINS pDevIns, uint32_t *pcRegions) 1369 { 1370 PDMDEV_ASSERT_DEVINS(pDevIns); 1371 1372 LogFlow(("pdmR0DevHlp_GIMGetMmio2Regions: caller='%s'/%d: pcRegions=%p\n", 1373 pDevIns->pReg->szName, pDevIns->iInstance, pcRegions)); 1374 1375 PGIMMMIO2REGION pRegion = GIMGetMmio2Regions(pDevIns->Internal.s.pGVM, pcRegions); 1376 1377 LogFlow(("pdmR0DevHlp_GIMGetMmio2Regions: caller='%s'/%d: returns %p\n", pDevIns->pReg->szName, pDevIns->iInstance, pRegion)); 1378 return pRegion; 1364 1379 } 1365 1380 … … 1460 1475 pdmR0DevHlp_MmioMapMmio2Page, 1461 1476 pdmR0DevHlp_MmioResetRegion, 1477 pdmR0DevHlp_GIMGetMmio2Regions, 1462 1478 NULL /*pfnReserved1*/, 1463 1479 NULL /*pfnReserved2*/, … … 1570 1586 pdmR0DevHlp_MmioMapMmio2Page, 1571 1587 pdmR0DevHlp_MmioResetRegion, 1588 pdmR0DevHlp_GIMGetMmio2Regions, 1572 1589 NULL /*pfnReserved1*/, 1573 1590 NULL /*pfnReserved2*/,
Note:
See TracChangeset
for help on using the changeset viewer.