Changeset 37702 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- Jun 30, 2011 10:09:59 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 72562
- Location:
- trunk/src/VBox/VMM/VMMAll
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/EMAll.cpp
r36315 r37702 3136 3136 VMMDECL(bool) EMRemIsLockOwner(PVM pVM) 3137 3137 { 3138 if (!PDMCritSectIsInitialized(&pVM->em.s.CritSectREM)) 3139 return true; /* early init */ 3140 3138 3141 return PDMCritSectIsOwner(&pVM->em.s.CritSectREM); 3139 3142 } … … 3145 3148 * @param pVM The VM to operate on. 3146 3149 */ 3147 VMMDECL(int) EMTryEnterRemLock(PVM pVM) 3148 { 3150 VMMDECL(int) EMRemTryLock(PVM pVM) 3151 { 3152 if (!PDMCritSectIsInitialized(&pVM->em.s.CritSectREM)) 3153 return VINF_SUCCESS; /* early init */ 3154 3149 3155 return PDMCritSectTryEnter(&pVM->em.s.CritSectREM); 3150 3156 } -
trunk/src/VBox/VMM/VMMAll/REMAll.cpp
r35346 r37702 47 47 */ 48 48 if ( pVM->rem.s.cInvalidatedPages < RT_ELEMENTS(pVM->rem.s.aGCPtrInvalidatedPages) 49 && EM TryEnterRemLock(pVM) == VINF_SUCCESS)49 && EMRemTryLock(pVM) == VINF_SUCCESS) 50 50 { 51 51 uint32_t iPage = pVM->rem.s.cInvalidatedPages;
Note:
See TracChangeset
for help on using the changeset viewer.