VirtualBox

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


Ignore:
Timestamp:
Jul 20, 2016 8:21:19 AM (9 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: nits and spaces.

File:
1 edited

Legend:

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

    r62334 r62340  
    49244924        }
    49254925# ifdef VBOX_ENABLE_64_BITS_GUESTS
    4926         /* Keep using the 64-bit switcher even though we're in 32-bit because of bad Intel design. See @bugref{8432#c7}.
    4927          * If Real-on-V86 is active, clear the 64-bit switcher flag because now we know the guest is in a sane
     4926        /*
     4927         * Keep using the 64-bit switcher even though we're in 32-bit because of bad Intel design, see @bugref{8432#c7}.
     4928         * If real-on-v86 mode is active, clear the 64-bit switcher flag because now we know the guest is in a sane
    49284929         * state where it's safe to use the 32-bit switcher. Otherwise check the guest state if it's safe to use
    49294930         * the much faster 32-bit switcher again.
     
    49384939        {
    49394940            Assert(pVCpu->hm.s.vmx.pfnStartVM == VMXR0SwitcherStartVM64);
    4940             if (pVCpu->hm.s.vmx.RealMode.fRealOnV86Active || hmR0VmxIs32BitSwitcherSafe(pVCpu, pMixedCtx))
     4941            if (   pVCpu->hm.s.vmx.RealMode.fRealOnV86Active
     4942                || hmR0VmxIs32BitSwitcherSafe(pVCpu, pMixedCtx))
    49414943            {
    49424944                pVCpu->hm.s.vmx.fSwitchedTo64on32 = false;
     
    49444946                HMCPU_CF_SET(pVCpu, HM_CHANGED_GUEST_EFER_MSR | HM_CHANGED_VMX_ENTRY_CTLS | HM_CHANGED_VMX_EXIT_CTLS | HM_CHANGED_HOST_CONTEXT);
    49454947                Log4(("Load[%RU32]: hmR0VmxSetupVMRunHandler: selected 32-bit switcher (safe)\n", pVCpu->idCpu));
    4946             } 
     4948            }
    49474949        }
    49484950# else
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