VirtualBox

Changeset 74790 in vbox for trunk/src/VBox/VMM/VMMR3/FTM.cpp


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

vm.h,VMM: Use VM_FF_IS_SET instead of VM_FF_IS_PENDING when checking a single flag. Added compile time assertion on single flag. bugref:9180

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/FTM.cpp

    r69111 r74790  
    13381338        while ((rc = PDMCritSectTryEnter(&pVM->ftm.s.CritSect)) == VERR_SEM_BUSY)
    13391339        {
    1340             if (VM_FF_IS_PENDING(pVM, VM_FF_EMT_RENDEZVOUS))
     1340            if (VM_FF_IS_SET(pVM, VM_FF_EMT_RENDEZVOUS))
    13411341            {
    13421342                rc = VMMR3EmtRendezvousFF(pVM, pVCpu);
     
    13441344            }
    13451345
    1346             if (VM_FF_IS_PENDING(pVM, VM_FF_REQUEST))
     1346            if (VM_FF_IS_SET(pVM, VM_FF_REQUEST))
    13471347            {
    13481348                rc = VMR3ReqProcessU(pVM->pUVM, VMCPUID_ANY, true /*fPriorityOnly*/);
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