VirtualBox

Changeset 49527 in vbox


Ignore:
Timestamp:
Nov 18, 2013 12:33:10 PM (11 years ago)
Author:
vboxsync
Message:

VMM/HMR0: Warnings.

File:
1 edited

Legend:

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

    r49479 r49527  
    795795    Assert(!RTThreadPreemptIsEnabled(NIL_RTTHREAD));
    796796    Assert(idCpu == (RTCPUID)RTMpCpuIdToSetIndex(idCpu)); /** @todo fix idCpu == index assumption (rainy day) */
    797     NOREF(pvUser2);
     797    NOREF(idCpu); NOREF(pvUser2);
    798798
    799799    uint64_t   fFC            = ASMRdMsr(MSR_IA32_FEATURE_CONTROL);
     
    857857    Assert(!RTThreadPreemptIsEnabled(NIL_RTTHREAD));
    858858    Assert(idCpu == (RTCPUID)RTMpCpuIdToSetIndex(idCpu)); /** @todo fix idCpu == index assumption (rainy day) */
    859     NOREF(pvUser2);
     859    NOREF(idCpu); NOREF(pvUser2);
    860860
    861861    /* Check if SVM is disabled. */
     
    14091409    RTCPUID          idCpu = RTMpCpuId();
    14101410    PHMGLOBALCPUINFO pCpu  = &g_HvmR0.aCpuInfo[idCpu];
    1411     PCPUMCTX         pCtx  = CPUMQueryGuestCtxPtr(pVCpu);
    14121411    Assert(pCpu);
    1413     Assert(pCtx);
    14141412    Assert(VMCPU_HMCF_IS_SET(pVCpu, HM_CHANGED_HOST_CONTEXT | HM_CHANGED_HOST_GUEST_SHARED_STATE));
    14151413
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