VirtualBox

Changeset 84715 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
Jun 6, 2020 10:29:22 AM (5 years ago)
Author:
vboxsync
Message:

AMD IOMMU: bugref:9654 PDM: Remove duplicate pfnIoApicSendMsi interface functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/PDMR0DevHlpTracing.cpp

    r84553 r84715  
    475475
    476476
    477 /** @interface_method_impl{PDMDEVHLPR0,pfnIoApicSendMsi} */
    478 DECLHIDDEN(DECLCALLBACK(void)) pdmR0DevHlpTracing_IoApicSendMsi(PPDMDEVINS pDevIns, RTGCPHYS GCPhys, uint32_t uValue)
    479 {
    480     PDMDEV_ASSERT_DEVINS(pDevIns);
    481     LogFlow(("pdmR0DevHlpTracing_IoApicSendMsi: caller='%s'/%d: GCPhys=%RGp uValue=%#x\n", pDevIns->pReg->szName, pDevIns->iInstance, GCPhys, uValue));
    482     PGVM pGVM = pDevIns->Internal.s.pGVM;
    483 
    484     DBGFTracerEvtIoApicMsi(pGVM, pDevIns->Internal.s.hDbgfTraceEvtSrc, GCPhys, uValue);
    485 
    486     uint32_t uTagSrc;
    487     pDevIns->Internal.s.pIntR3R0->uLastIrqTag = uTagSrc = pdmCalcIrqTag(pGVM, pDevIns->Internal.s.pInsR3R0->idTracing);
    488     VBOXVMM_PDM_IRQ_HILO(VMMGetCpu(pGVM), RT_LOWORD(uTagSrc), RT_HIWORD(uTagSrc));
    489 
    490     if (pGVM->pdm.s.IoApic.pDevInsR0)
    491         pGVM->pdm.s.IoApic.pfnSendMsiR0(pGVM->pdm.s.IoApic.pDevInsR0, GCPhys, uValue, uTagSrc);
    492     else
    493         AssertFatalMsgFailed(("Lazy bastards!"));
    494 
    495     LogFlow(("pdmR0DevHlpTracing_IoApicSendMsi: caller='%s'/%d: returns void\n", pDevIns->pReg->szName, pDevIns->iInstance));
    496 }
    497 
    498 
    499477/** @} */
    500478
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette