Changeset 19259 in vbox for trunk/src/VBox
- Timestamp:
- Apr 29, 2009 12:45:19 PM (16 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/DBGF.cpp
r19217 r19259 386 386 static int dbgfR3EventPrologue(PVM pVM, DBGFEVENTTYPE enmEvent) 387 387 { 388 PVMCPU pVCpu = VMMGetCpu 0(pVM);388 PVMCPU pVCpu = VMMGetCpu(pVM); 389 389 390 390 /* -
trunk/src/VBox/VMM/PATM/VMMAll/PATMAll.cpp
r19141 r19259 299 299 VMMDECL(bool) PATMAreInterruptsEnabled(PVM pVM) 300 300 { 301 PCPUMCTX pCtx = CPUMQueryGuestCtxPtr(VMMGetCpu 0(pVM));301 PCPUMCTX pCtx = CPUMQueryGuestCtxPtr(VMMGetCpu(pVM)); 302 302 303 303 return PATMAreInterruptsEnabledByCtxCore(pVM, CPUMCTX2CORE(pCtx)); -
trunk/src/VBox/VMM/VMMAll/PDMAllCritSect.cpp
r19141 r19259 35 35 #include <iprt/asm.h> 36 36 #include <iprt/assert.h> 37 #ifndef IN_RC 38 # include <iprt/thread.h> 39 #endif 37 40 #ifdef IN_RING3 38 41 # include <iprt/semaphore.h> … … 221 224 #ifdef IN_RING3 222 225 return RTCritSectIsOwner(&pCritSect->s.Core); 226 #elif defined(IN_RING0) 227 PVM pVM = pCritSect->s.CTX_SUFF(pVM); 228 Assert(pVM); 229 return pCritSect->s.Core.NativeThreadOwner == RTThreadNativeSelf(); 223 230 #else 224 231 PVM pVM = pCritSect->s.CTX_SUFF(pVM);
Note:
See TracChangeset
for help on using the changeset viewer.