Changeset 31366 in vbox for trunk/src/VBox
- Timestamp:
- Aug 4, 2010 5:17:35 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 64419
- Location:
- trunk/src/VBox/VMM/VMMR0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/GMMR0.cpp
r31350 r31366 4097 4097 #endif 4098 4098 4099 #ifdef DEBUG_sandervl 4099 4100 /** 4100 4101 * Setup for a GMMR0CheckSharedModules call (to allow log flush jumps back to ring 3) … … 4141 4142 return VINF_SUCCESS; 4142 4143 } 4144 #endif 4143 4145 4144 4146 /** … … 4162 4164 return rc; 4163 4165 4166 # ifndef DEBUG_sandervl 4167 /* 4168 * Take the sempahore and do some more validations. 4169 */ 4170 int rc = RTSemFastMutexRequest(pGMM->Mtx); 4171 AssertRC(rc); 4172 # endif 4164 4173 if (GMM_CHECK_SANITY_UPON_ENTERING(pGMM)) 4165 4174 { … … 4182 4191 rc = VERR_INTERNAL_ERROR_5; 4183 4192 4193 # ifndef DEBUG_sandervl 4194 RTSemFastMutexRelease(pGMM->Mtx); 4195 # endif 4184 4196 return rc; 4185 4197 #else -
trunk/src/VBox/VMM/VMMR0/VMMR0.cpp
r31361 r31366 970 970 971 971 /* Make sure that log flushes can jump back to ring-3; annoying to get an incomplete log (this is risky though as the code doesn't take this into account). */ 972 # ifdef DEBUG_sandervl 972 973 int rc = GMMR0CheckSharedModulesStart(pVM); 973 974 if (rc == VINF_SUCCESS) … … 978 979 GMMR0CheckSharedModulesEnd(pVM); 979 980 } 981 # else 982 rc = GMMR0CheckSharedModules(pVM, pVCpu); 983 # endif 980 984 return rc; 981 985 }
Note:
See TracChangeset
for help on using the changeset viewer.