VirtualBox

Changeset 72772 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
Jun 29, 2018 11:28:28 AM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
123313
Message:

VMM/HMSVMR0: 32-bit build fix. Grr...

Location:
trunk/src/VBox/VMM/VMMR0
Files:
2 edited

Legend:

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

    r72769 r72772  
    16181618    RT_NOREF(pCtx);
    16191619    STAM_COUNTER_INC(&pVCpu->hm.s.StatDebug64SwitchBack);
    1620     if (pVCpu->CTX_SUFF(pVM)->hm.s.vmx.fSupported)
     1620    if (pVM->hm.s.vmx.fSupported)
    16211621        return VMXR0Execute64BitsHandler(pVCpu, HM64ON32OP_HMRCSaveGuestDebug64, 0, NULL);
    16221622    return SVMR0Execute64BitsHandler(pVCpu, HM64ON32OP_HMRCSaveGuestDebug64, 0, NULL);
  • trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp

    r72771 r72772  
    13651365DECLASM(int) SVMR0VMSwitcherRun64(RTHCPHYS HCPhysVmcbHost, RTHCPHYS HCPhysVmcb, PCPUMCTX pCtx, PVM pVM, PVMCPU pVCpu)
    13661366{
    1367     RT_NOREF(pVM);
     1367    RT_NOREF2(pVM, pCtx);
    13681368    uint32_t aParam[8];
    13691369    aParam[0] = RT_LO_U32(HCPhysVmcbHost);              /* Param 1: HCPhysVmcbHost - Lo. */
     
    14571457    {
    14581458        bool fRemove = true;
    1459 #ifdef VBOX_WITH_NESTED_HWVIRT_SVM
     1459# ifdef VBOX_WITH_NESTED_HWVIRT_SVM
    14601460        /* Only remove the intercept if the nested-guest is also not intercepting it! */
    14611461        PCCPUMCTX pCtx = &pVCpu->cpum.GstCtx;
     
    14651465            fRemove = !(pVmcbNstGstCache->u32InterceptXcpt & RT_BIT(uXcpt));
    14661466        }
    1467 #endif
     1467# else
     1468        RT_NOREF(pVCpu);
     1469# endif
    14681470        if (fRemove)
    14691471        {
Note: See TracChangeset for help on using the changeset viewer.

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