VirtualBox

Ignore:
Timestamp:
Apr 26, 2013 12:14:09 AM (12 years ago)
Author:
vboxsync
Message:

VMM: Introduced VMCPUSTATE_STARTED_HM for indicating that we're between HMR3Enter and HMR3Leave. Added HMIsInHwVirtCtx and VMMIsLongJumpArmed methods/macros.

File:
1 edited

Legend:

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

    r45655 r45749  
    33813381
    33823382    TMNotifyEndOfExecution(pVCpu);
    3383     VMCPU_SET_STATE(pVCpu, VMCPUSTATE_STARTED);
     3383    VMCPU_SET_STATE(pVCpu, VMCPUSTATE_STARTED_HM);
    33843384    Assert(!(ASMGetFlags() & X86_EFL_IF));
    33853385
     
    50425042
    50435043    /* Just set the correct state here instead of trying to catch every goto above. */
    5044     VMCPU_CMPXCHG_STATE(pVCpu, VMCPUSTATE_STARTED, VMCPUSTATE_STARTED_EXEC);
     5044    VMCPU_CMPXCHG_STATE(pVCpu, VMCPUSTATE_STARTED_HM, VMCPUSTATE_STARTED_EXEC);
    50455045
    50465046#ifdef VBOX_WITH_VMMR0_DISABLE_PREEMPTION
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