Changeset 31361 in vbox
- Timestamp:
- Aug 4, 2010 3:38:35 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 64412
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/VMMAll.cpp
r31360 r31361 84 84 PVMCPU pVCpu = &pVM->aCpus[idCpu]; 85 85 86 if (pVCpu->hNativeThread == hThread)86 if (pVCpu->hNativeThreadR0 == hThread) 87 87 return pVCpu->idCpu; 88 88 } … … 139 139 PVMCPU pVCpu = &pVM->aCpus[idCpu]; 140 140 141 if (pVCpu->hNativeThread == hThread)141 if (pVCpu->hNativeThreadR0 == hThread) 142 142 return pVCpu; 143 143 } -
trunk/src/VBox/VMM/VMMR0/VMMR0.cpp
r31360 r31361 965 965 PVMCPU pVCpu = &pVM->aCpus[idCpu]; 966 966 967 /* Initialize the r0 native thread handle on the fly. */ 968 if (pVCpu->hNativeThreadR0 == NIL_RTNATIVETHREAD) 969 pVCpu->hNativeThreadR0 = RTThreadNativeSelf(); 970 967 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). */ 968 972 int rc = GMMR0CheckSharedModulesStart(pVM);
Note:
See TracChangeset
for help on using the changeset viewer.