VirtualBox

Changeset 50789 in vbox


Ignore:
Timestamp:
Mar 14, 2014 2:44:27 PM (11 years ago)
Author:
vboxsync
Message:

VMM/HMR0: Rely on zero-initialized allocations. Still trying to figure out uCurrentAsid assertion in #7300.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMR0.cpp

    r50748 r50789  
    12801280    {
    12811281        PVMCPU pVCpu = &pVM->aCpus[i];
    1282 
    1283         pVCpu->hm.s.idEnteredCpu        = NIL_RTCPUID;
    1284 
    1285         /* Invalidate the last cpu we were running on. */
    1286         pVCpu->hm.s.idLastCpu           = NIL_RTCPUID;
    1287 
    1288         /* We'll aways increment this the first time (host uses ASID 0) */
    1289         pVCpu->hm.s.uCurrentAsid        = 0;
     1282        pVCpu->hm.s.idEnteredCpu = NIL_RTCPUID;
     1283        pVCpu->hm.s.idLastCpu    = NIL_RTCPUID;
     1284
     1285        /* We'll aways increment this the first time (host uses ASID 0). */
     1286        AssertReturn(!pVCpu->hm.s.uCurrentAsid, VERR_HM_IPE_3);
    12901287    }
    12911288
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette