Changeset 50800 in vbox
- Timestamp:
- Mar 17, 2014 12:59:48 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMR0.cpp
r50789 r50800 614 614 g_HvmR0.EnableAllCpusOnce = s_OnceInit; 615 615 for (unsigned i = 0; i < RT_ELEMENTS(g_HvmR0.aCpuInfo); i++) 616 { 616 617 g_HvmR0.aCpuInfo[i].hMemObj = NIL_RTR0MEMOBJ; 618 g_HvmR0.aCpuInfo[i].idCpu = NIL_RTCPUID; 619 } 617 620 618 621 /* Fill in all callbacks with placeholders. */ … … 1101 1104 1102 1105 pCpu->fConfigured = false; 1106 pCpu->idCpu = NIL_RTCPUID; 1103 1107 } 1104 1108 else … … 1390 1394 /* Reload host-state (back from ring-3/migrated CPUs) and shared guest/host bits. */ 1391 1395 HMCPU_CF_SET(pVCpu, HM_CHANGED_HOST_CONTEXT | HM_CHANGED_HOST_GUEST_SHARED_STATE); 1396 1397 Assert(pCpu->idCpu == idCpu && pCpu->idCpu != NIL_RTCPUID); 1392 1398 pVCpu->hm.s.idEnteredCpu = idCpu; 1393 1399 return rc; … … 1467 1473 AssertRCReturn(rc, rc); 1468 1474 Assert(!pCpu->fConfigured); 1475 Assert(pCpu->idCpu == NIL_RTCPUID); 1469 1476 1470 1477 /* For obtaining a non-zero ASID/VPID on next re-entry. */
Note:
See TracChangeset
for help on using the changeset viewer.