Changeset 60626 in vbox
- Timestamp:
- Apr 21, 2016 1:23:41 PM (8 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/VMM/VMMR3/DBGF.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/DBGF.cpp
r59207 r60626 1218 1218 VM_ASSERT_VALID_EXT_RETURN(pVM, VERR_INVALID_VM_HANDLE); 1219 1219 AssertReturn(pVM->dbgf.s.fAttached, VERR_DBGF_NOT_ATTACHED); 1220 AssertReturn(RTSemPongIsSpeaker(&pVM->dbgf.s.PingPong), VERR_SEM_OUT_OF_TURN); 1220 if (RT_LIKELY(RTSemPongIsSpeaker(&pVM->dbgf.s.PingPong))) 1221 { /* likely */ } 1222 else 1223 return VERR_SEM_OUT_OF_TURN; 1221 1224 1222 1225 /* … … 1249 1252 PVM pVM = pUVM->pVM; 1250 1253 VM_ASSERT_VALID_EXT_RETURN(pVM, VERR_INVALID_VM_HANDLE); 1254 AssertReturn(idCpu < pVM->cCpus, VERR_INVALID_PARAMETER); 1251 1255 AssertReturn(pVM->dbgf.s.fAttached, VERR_DBGF_NOT_ATTACHED); 1252 AssertReturn(RTSemPongIsSpeaker(&pVM->dbgf.s.PingPong), VERR_SEM_OUT_OF_TURN); 1253 AssertReturn(idCpu < pVM->cCpus, VERR_INVALID_PARAMETER); 1256 if (RT_LIKELY(RTSemPongIsSpeaker(&pVM->dbgf.s.PingPong))) 1257 { /* likely */ } 1258 else 1259 return VERR_SEM_OUT_OF_TURN; 1254 1260 1255 1261 /*
Note:
See TracChangeset
for help on using the changeset viewer.

