Changeset 20873 in vbox for trunk/src/VBox/VMM/VMMAll/PDMAll.cpp
- Timestamp:
- Jun 24, 2009 2:08:38 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 49019
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PDMAll.cpp
r20654 r20873 259 259 Assert(pVM->pdm.s.Apic.CTX_SUFF(pfnGetTPR)); 260 260 /* 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. 262 262 */ 263 263 *pu8TPR = pVM->pdm.s.Apic.CTX_SUFF(pfnGetTPR)(pVM->pdm.s.Apic.CTX_SUFF(pDevIns), pVCpu->idCpu); … … 328 328 int rc = PDMCritSectEnter(&pVM->pdm.s.CritSect, VERR_GENERAL_FAILURE); 329 329 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); 337 331 #endif 338 332 AssertRC(rc);
Note:
See TracChangeset
for help on using the changeset viewer.