VirtualBox

Changeset 50872 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Mar 25, 2014 5:59:07 PM (11 years ago)
Author:
vboxsync
Message:

VMM/HMR0: Assertion and comment.

File:
1 edited

Legend:

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

    r50854 r50872  
    924924    Assert(idCpu < RT_ELEMENTS(g_HvmR0.aCpuInfo));
    925925    Assert(!pCpu->fConfigured);
     926    Assert(!RTThreadPreemptIsEnabled(NIL_RTTHREAD));
    926927
    927928    pCpu->idCpu = idCpu;
     
    935936        AssertLogRelMsgReturn(pCpu->hMemObj != NIL_RTR0MEMOBJ, ("hmR0EnableCpu failed idCpu=%u.\n", idCpu), VERR_HM_IPE_1);
    936937        void    *pvCpuPage     = RTR0MemObjAddress(pCpu->hMemObj);
    937         RTHCPHYS HCPhysCpuPage = RTR0MemObjGetPagePhysAddr(pCpu->hMemObj, 0);
     938        RTHCPHYS HCPhysCpuPage = RTR0MemObjGetPagePhysAddr(pCpu->hMemObj, 0 /* iPage */);
    938939
    939940        if (g_HvmR0.vmx.fSupported)
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