Changeset 44508 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Feb 1, 2013 12:46:33 PM (12 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/PDMDevHlp.cpp
r44351 r44508 1425 1425 PVM pVM = pDevIns->Internal.s.pVMR3; 1426 1426 pdmLock(pVM); 1427 if (!pBus->pfnRegisterMsiR3) 1427 if (pBus->pfnRegisterMsiR3) 1428 rc = pBus->pfnRegisterMsiR3(pBus->pDevInsR3, pPciDev, pMsiReg); 1429 else 1428 1430 rc = VERR_NOT_IMPLEMENTED; 1429 else1430 rc = pBus->pfnRegisterMsiR3(pBus->pDevInsR3, pPciDev, pMsiReg);1431 1431 pdmUnlock(pVM); 1432 1432 } … … 2204 2204 PVM pVM = pDevIns->Internal.s.pVMR3; 2205 2205 VM_ASSERT_EMT(pVM); 2206 LogFlow(("pdmR3DevHlp_PCIBusRegister: caller='%s'/%d: pPciBusReg=%p:{.u32Version=%#x, .pfnRegisterR3=%p, .pfnIORegionRegisterR3=%p, .pfnSetIrqR3=%p,"2207 ".pfnS aveExecR3=%p, .pfnLoadExecR3=%p, .pfnFakePCIBIOSR3=%p, .pszSetIrqRC=%p:{%s}, .pszSetIrqR0=%p:{%s}} ppPciHlpR3=%p\n",2206 LogFlow(("pdmR3DevHlp_PCIBusRegister: caller='%s'/%d: pPciBusReg=%p:{.u32Version=%#x, .pfnRegisterR3=%p, .pfnIORegionRegisterR3=%p, " 2207 ".pfnSetIrqR3=%p, .pfnFakePCIBIOSR3=%p, .pszSetIrqRC=%p:{%s}, .pszSetIrqR0=%p:{%s}} ppPciHlpR3=%p\n", 2208 2208 pDevIns->pReg->szName, pDevIns->iInstance, pPciBusReg, pPciBusReg->u32Version, pPciBusReg->pfnRegisterR3, 2209 pPciBusReg->pfnIORegionRegisterR3, pPciBusReg->pfnSetIrqR3, pPciBusReg->pfn SaveExecR3, pPciBusReg->pfnLoadExecR3,2210 pPciBusReg->p fnFakePCIBIOSR3, pPciBusReg->pszSetIrqRC, pPciBusReg->pszSetIrqRC, pPciBusReg->pszSetIrqR0, pPciBusReg->pszSetIrqR0, ppPciHlpR3));2209 pPciBusReg->pfnIORegionRegisterR3, pPciBusReg->pfnSetIrqR3, pPciBusReg->pfnFakePCIBIOSR3, 2210 pPciBusReg->pszSetIrqRC, pPciBusReg->pszSetIrqRC, pPciBusReg->pszSetIrqR0, pPciBusReg->pszSetIrqR0, ppPciHlpR3)); 2211 2211 2212 2212 /* … … 2222 2222 || !pPciBusReg->pfnIORegionRegisterR3 2223 2223 || !pPciBusReg->pfnSetIrqR3 2224 || !pPciBusReg->pfnSaveExecR32225 || !pPciBusReg->pfnLoadExecR32226 2224 || (!pPciBusReg->pfnFakePCIBIOSR3 && !pVM->pdm.s.aPciBuses[0].pDevInsR3)) /* Only the first bus needs to do the BIOS work. */ 2227 2225 { … … 2229 2227 Assert(pPciBusReg->pfnIORegionRegisterR3); 2230 2228 Assert(pPciBusReg->pfnSetIrqR3); 2231 Assert(pPciBusReg->pfnSaveExecR3);2232 Assert(pPciBusReg->pfnLoadExecR3);2233 2229 Assert(pPciBusReg->pfnFakePCIBIOSR3); 2234 2230 LogFlow(("pdmR3DevHlp_PCIBusRegister: caller='%s'/%d: returns %Rrc (R3 callbacks)\n", pDevIns->pReg->szName, pDevIns->iInstance, VERR_INVALID_PARAMETER)); … … 2321 2317 pPciBus->pfnSetConfigCallbacksR3 = pPciBusReg->pfnSetConfigCallbacksR3; 2322 2318 pPciBus->pfnSetIrqR3 = pPciBusReg->pfnSetIrqR3; 2323 pPciBus->pfnSaveExecR3 = pPciBusReg->pfnSaveExecR3;2324 pPciBus->pfnLoadExecR3 = pPciBusReg->pfnLoadExecR3;2325 2319 pPciBus->pfnFakePCIBIOSR3 = pPciBusReg->pfnFakePCIBIOSR3; 2326 2320 -
trunk/src/VBox/VMM/include/PDMInternal.h
r44358 r44508 619 619 DECLR3CALLBACKMEMBER(void, pfnSetConfigCallbacksR3,(PPDMDEVINS pDevIns, PPCIDEVICE pPciDev, PFNPCICONFIGREAD pfnRead, 620 620 PPFNPCICONFIGREAD ppfnReadOld, PFNPCICONFIGWRITE pfnWrite, PPFNPCICONFIGWRITE ppfnWriteOld)); 621 /** @copydoc PDMPCIBUSREG::pfnSaveExecR3 */622 DECLR3CALLBACKMEMBER(int, pfnSaveExecR3,(PPDMDEVINS pDevIns, PPCIDEVICE pPciDev, PSSMHANDLE pSSMHandle));623 /** @copydoc PDMPCIBUSREG::pfnLoadExecR3 */624 DECLR3CALLBACKMEMBER(int, pfnLoadExecR3,(PPDMDEVINS pDevIns, PPCIDEVICE pPciDev, PSSMHANDLE pSSMHandle));625 621 /** @copydoc PDMPCIBUSREG::pfnFakePCIBIOSR3 */ 626 622 DECLR3CALLBACKMEMBER(int, pfnFakePCIBIOSR3,(PPDMDEVINS pDevIns)); -
trunk/src/VBox/VMM/testcase/tstVMStruct.h
r44399 r44508 406 406 GEN_CHECK_OFF_DOT(PDM, aPciBuses[0].pfnRegisterR3); 407 407 GEN_CHECK_OFF_DOT(PDM, aPciBuses[0].pfnIORegionRegisterR3); 408 GEN_CHECK_OFF_DOT(PDM, aPciBuses[0].pfnSaveExecR3);409 GEN_CHECK_OFF_DOT(PDM, aPciBuses[0].pfnLoadExecR3);410 408 GEN_CHECK_OFF_DOT(PDM, aPciBuses[0].pfnFakePCIBIOSR3); 411 409 GEN_CHECK_OFF_DOT(PDM, aPciBuses[0].pDevInsR0);
Note:
See TracChangeset
for help on using the changeset viewer.