VirtualBox

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


Ignore:
Timestamp:
Jun 6, 2020 10:01:54 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/PDMR0DevHlp.cpp

    r84678 r84714  
    312312
    313313
    314 /** @interface_method_impl{PDMDEVHLPR0,pfnIoApicSendMsi} */
    315 static DECLCALLBACK(void) pdmR0DevHlp_IoApicSendMsi(PPDMDEVINS pDevIns, RTGCPHYS GCPhys, uint32_t uValue)
    316 {
    317     PDMDEV_ASSERT_DEVINS(pDevIns);
    318     LogFlow(("pdmR0DevHlp_IoApicSendMsi: caller=%p/%d: GCPhys=%RGp uValue=%#x\n", pDevIns, pDevIns->iInstance, GCPhys, uValue));
    319     PGVM pGVM = pDevIns->Internal.s.pGVM;
    320 
    321     uint32_t uTagSrc;
    322     pDevIns->Internal.s.pIntR3R0->uLastIrqTag = uTagSrc = pdmCalcIrqTag(pGVM, pDevIns->Internal.s.pInsR3R0->idTracing);
    323     VBOXVMM_PDM_IRQ_HILO(VMMGetCpu(pGVM), RT_LOWORD(uTagSrc), RT_HIWORD(uTagSrc));
    324 
    325     if (pGVM->pdm.s.IoApic.pDevInsR0)
    326         pGVM->pdm.s.IoApic.pfnSendMsiR0(pGVM->pdm.s.IoApic.pDevInsR0, GCPhys, uValue, uTagSrc);
    327     else
    328         AssertFatalMsgFailed(("Lazy bastards!"));
    329 
    330     LogFlow(("pdmR0DevHlp_IoApicSendMsi: caller=%p/%d: returns void; uTagSrc=%#x\n", pDevIns, pDevIns->iInstance, uTagSrc));
    331 }
    332 
    333 
    334314/** @interface_method_impl{PDMDEVHLPR0,pfnPhysRead} */
    335315static DECLCALLBACK(int) pdmR0DevHlp_PhysRead(PPDMDEVINS pDevIns, RTGCPHYS GCPhys, void *pvBuf, size_t cbRead, uint32_t fFlags)
     
    12791259    pdmR0DevHlp_PCISetIrq,
    12801260    pdmR0DevHlp_ISASetIrq,
    1281     pdmR0DevHlp_IoApicSendMsi,
    12821261    pdmR0DevHlp_PhysRead,
    12831262    pdmR0DevHlp_PhysWrite,
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