VirtualBox

Changeset 61685 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Jun 13, 2016 4:04:42 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
108043
Message:

VMM: I/O APIC lockless implementation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PDMAll.cpp

    r60804 r61685  
    194194    {
    195195        Assert(pVM->pdm.s.IoApic.CTX_SUFF(pfnSetIrq));
     196#ifdef VBOX_WITH_NEW_IOAPIC
     197        pVM->pdm.s.IoApic.CTX_SUFF(pfnSetIrq)(pVM->pdm.s.IoApic.CTX_SUFF(pDevIns), u8Irq, u8Level, uTagSrc);
     198#else
    196199        pdmLock(pVM);
    197200        pVM->pdm.s.IoApic.CTX_SUFF(pfnSetIrq)(pVM->pdm.s.IoApic.CTX_SUFF(pDevIns), u8Irq, u8Level, uTagSrc);
    198201        pdmUnlock(pVM);
     202#endif
    199203        return VINF_SUCCESS;
    200204    }
     
    216220    {
    217221        Assert(pVM->pdm.s.IoApic.CTX_SUFF(pfnSendMsi));
     222#ifdef VBOX_WITH_NEW_IOAPIC
     223        pVM->pdm.s.IoApic.CTX_SUFF(pfnSendMsi)(pVM->pdm.s.IoApic.CTX_SUFF(pDevIns), GCAddr, uValue, uTagSrc);
     224#else
    218225        pdmLock(pVM);
    219226        pVM->pdm.s.IoApic.CTX_SUFF(pfnSendMsi)(pVM->pdm.s.IoApic.CTX_SUFF(pDevIns), GCAddr, uValue, uTagSrc);
    220227        pdmUnlock(pVM);
     228#endif
    221229        return VINF_SUCCESS;
    222230    }
Note: See TracChangeset for help on using the changeset viewer.

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