Changeset 45808 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- Apr 29, 2013 12:41:07 PM (12 years ago)
- Location:
- trunk/src/VBox/VMM/VMMAll
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAll.cpp
r45799 r45808 2425 2425 * @param pVM Pointer to the VM. 2426 2426 */ 2427 #if defined(VBOX_STRICT) && defined(IN_RING3) 2428 int pgmLockDebug(PVM pVM, RT_SRC_POS_DECL) 2429 #else 2427 2430 int pgmLock(PVM pVM) 2428 { 2431 #endif 2432 { 2433 #if defined(VBOX_STRICT) && defined(IN_RING3) 2434 int rc = PDMCritSectEnterDebug(&pVM->pgm.s.CritSectX, VERR_SEM_BUSY, (uintptr_t)ASMReturnAddress(), RT_SRC_POS_ARGS); 2435 #else 2429 2436 int rc = PDMCritSectEnter(&pVM->pgm.s.CritSectX, VERR_SEM_BUSY); 2437 #endif 2430 2438 #if defined(IN_RC) || defined(IN_RING0) 2431 2439 if (rc == VERR_SEM_BUSY) -
trunk/src/VBox/VMM/VMMAll/PGMAllHandler.cpp
r44528 r45808 118 118 AssertPtrReturn(pfnHandlerR3, VERR_INVALID_POINTER); 119 119 AssertReturn(pfnHandlerR0, VERR_INVALID_PARAMETER); 120 AssertReturn(pfnHandlerRC , VERR_INVALID_PARAMETER);120 AssertReturn(pfnHandlerRC || HMIsEnabled(pVM), VERR_INVALID_PARAMETER); 121 121 122 122 /*
Note:
See TracChangeset
for help on using the changeset viewer.