VirtualBox

Ignore:
Timestamp:
Jun 24, 2009 2:08:38 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
49019
Message:

VMMGCCallHost -> VMMRZCallRing3[NoCpu].

File:
1 edited

Legend:

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

    r20654 r20873  
    259259        Assert(pVM->pdm.s.Apic.CTX_SUFF(pfnGetTPR));
    260260        /* We don't acquire the PDM lock here as we're just reading information. Doing so causes massive
    261          * contention as this function is called very often by each and every VCPU. 
     261         * contention as this function is called very often by each and every VCPU.
    262262         */
    263263        *pu8TPR = pVM->pdm.s.Apic.CTX_SUFF(pfnGetTPR)(pVM->pdm.s.Apic.CTX_SUFF(pDevIns), pVCpu->idCpu);
     
    328328    int rc = PDMCritSectEnter(&pVM->pdm.s.CritSect, VERR_GENERAL_FAILURE);
    329329    if (rc == VERR_GENERAL_FAILURE)
    330     {
    331 # ifdef IN_RC
    332         rc = VMMGCCallHost(pVM, VMMCALLHOST_PDM_LOCK, 0);
    333 # else
    334         rc = VMMR0CallHost(pVM, VMMCALLHOST_PDM_LOCK, 0);
    335 # endif
    336     }
     330        rc = VMMRZCallRing3NoCpu(pVM, VMMCALLHOST_PDM_LOCK, 0);
    337331#endif
    338332    AssertRC(rc);
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