Changeset 20654 in vbox
- Timestamp:
- Jun 17, 2009 9:31:56 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 48746
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PDMAll.cpp
r20056 r20654 258 258 { 259 259 Assert(pVM->pdm.s.Apic.CTX_SUFF(pfnGetTPR)); 260 pdmLock(pVM); 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. 262 */ 261 263 *pu8TPR = pVM->pdm.s.Apic.CTX_SUFF(pfnGetTPR)(pVM->pdm.s.Apic.CTX_SUFF(pDevIns), pVCpu->idCpu); 262 264 if (pfPending) 263 265 *pfPending = pVM->pdm.s.Apic.CTX_SUFF(pfnHasPendingIrq)(pVM->pdm.s.Apic.CTX_SUFF(pDevIns)); 264 pdmUnlock(pVM);265 266 return VINF_SUCCESS; 266 267 }
Note:
See TracChangeset
for help on using the changeset viewer.