VirtualBox

Changeset 74792 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Oct 12, 2018 10:53:00 AM (6 years ago)
Author:
vboxsync
Message:

vm.h,VMM: Made VM_FF_SET and VMCPU_FF_SET both work on a single flag, with compile time assertions check this. Introduced VMCPU_FF_SET_MASK for the one place where a mask is used. bugref:9180

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAllCImplSvmInstr.cpp.h

    r74785 r74792  
    294294        if (pVCpu->cpum.GstCtx.hwvirt.fLocalForcedActions)
    295295        {
    296             VMCPU_FF_SET(pVCpu, pVCpu->cpum.GstCtx.hwvirt.fLocalForcedActions);
     296            VMCPU_FF_SET_MASK(pVCpu, pVCpu->cpum.GstCtx.hwvirt.fLocalForcedActions);
    297297            pVCpu->cpum.GstCtx.hwvirt.fLocalForcedActions = 0;
    298298        }
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