- Timestamp:
- May 13, 2009 3:49:38 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/MMAllHyper.cpp
r19666 r19667 165 165 if (!PDMCritSectIsInitialized(&pHeap->Lock)) 166 166 return VINF_SUCCESS; /* early init */ 167 168 int rc = PDMCritSectEnter(&pHeap->Lock, VERR_INTERNAL_ERROR);169 167 #else 170 168 Assert(PDMCritSectIsInitialized(&pHeap->Lock)); 171 int rc = PDMCritSectEnter(&pHeap->Lock, VERR_GENERAL_FAILURE); 172 i f (rc == VERR_GENERAL_FAILURE)173 { 174 # ifdef IN_RC 169 #endif 170 int rc = PDMCritSectEnter(&pHeap->Lock, VERR_SEM_BUSY); 171 #ifdef IN_RC 172 if (rc == VERR_SEM_BUSY) 175 173 rc = VMMGCCallHost(pVM, VMMCALLHOST_MMHYPER_LOCK, 0); 176 # else 174 #elif defined(IN_RING0) 175 if (rc == VERR_SEM_BUSY) 177 176 rc = VMMR0CallHost(pVM, VMMCALLHOST_MMHYPER_LOCK, 0); 178 # endif179 }180 177 #endif 181 178 AssertRC(rc);
Note:
See TracChangeset
for help on using the changeset viewer.