Changeset 74791 in vbox for trunk/src/VBox/VMM/VMMR0
- Timestamp:
- Oct 12, 2018 10:44:17 AM (6 years ago)
- Location:
- trunk/src/VBox/VMM/VMMR0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r74790 r74791 4220 4220 4221 4221 PVM pVM = pVCpu->CTX_SUFF(pVM); 4222 if ( VM_FF_IS_ PENDING(pVM, !pVCpu->hm.s.fSingleInstruction4222 if ( VM_FF_IS_ANY_SET(pVM, !pVCpu->hm.s.fSingleInstruction 4223 4223 ? VM_FF_HP_R0_PRE_HM_MASK : VM_FF_HP_R0_PRE_HM_STEP_MASK) 4224 4224 || VMCPU_FF_IS_ANY_SET(pVCpu, !pVCpu->hm.s.fSingleInstruction … … 4239 4239 /* Pending HM-to-R3 operations (critsects, timers, EMT rendezvous etc.) */ 4240 4240 /* -XXX- what was that about single stepping? */ 4241 if ( VM_FF_IS_ PENDING(pVM, VM_FF_HM_TO_R3_MASK)4241 if ( VM_FF_IS_ANY_SET(pVM, VM_FF_HM_TO_R3_MASK) 4242 4242 || VMCPU_FF_IS_ANY_SET(pVCpu, VMCPU_FF_HM_TO_R3_MASK)) 4243 4243 { … … 4369 4369 */ 4370 4370 pSvmTransient->fEFlags = ASMIntDisableFlags(); 4371 if ( VM_FF_IS_ PENDING(pVM, VM_FF_EMT_RENDEZVOUS | VM_FF_TM_VIRTUAL_SYNC)4371 if ( VM_FF_IS_ANY_SET(pVM, VM_FF_EMT_RENDEZVOUS | VM_FF_TM_VIRTUAL_SYNC) 4372 4372 || VMCPU_FF_IS_ANY_SET(pVCpu, VMCPU_FF_HM_TO_R3_MASK)) 4373 4373 { … … 4482 4482 */ 4483 4483 pSvmTransient->fEFlags = ASMIntDisableFlags(); 4484 if ( VM_FF_IS_ PENDING(pVM, VM_FF_EMT_RENDEZVOUS | VM_FF_TM_VIRTUAL_SYNC)4484 if ( VM_FF_IS_ANY_SET(pVM, VM_FF_EMT_RENDEZVOUS | VM_FF_TM_VIRTUAL_SYNC) 4485 4485 || VMCPU_FF_IS_ANY_SET(pVCpu, VMCPU_FF_HM_TO_R3_MASK)) 4486 4486 { -
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r74790 r74791 6900 6900 PVM pVM = pVCpu->CTX_SUFF(pVM); 6901 6901 if ( !fStepping 6902 ? !VM_FF_IS_ PENDING(pVM, VM_FF_HP_R0_PRE_HM_MASK)6902 ? !VM_FF_IS_ANY_SET(pVM, VM_FF_HP_R0_PRE_HM_MASK) 6903 6903 && !VMCPU_FF_IS_ANY_SET(pVCpu, VMCPU_FF_HP_R0_PRE_HM_MASK) 6904 : !VM_FF_IS_ PENDING(pVM, VM_FF_HP_R0_PRE_HM_STEP_MASK)6904 : !VM_FF_IS_ANY_SET(pVM, VM_FF_HP_R0_PRE_HM_STEP_MASK) 6905 6905 && !VMCPU_FF_IS_ANY_SET(pVCpu, VMCPU_FF_HP_R0_PRE_HM_STEP_MASK) ) 6906 6906 return VINF_SUCCESS; … … 6922 6922 6923 6923 /* Pending HM-to-R3 operations (critsects, timers, EMT rendezvous etc.) */ 6924 if ( VM_FF_IS_ PENDING(pVM, VM_FF_HM_TO_R3_MASK)6924 if ( VM_FF_IS_ANY_SET(pVM, VM_FF_HM_TO_R3_MASK) 6925 6925 || VMCPU_FF_IS_ANY_SET(pVCpu, VMCPU_FF_HM_TO_R3_MASK)) 6926 6926 { … … 8584 8584 pVmxTransient->fEFlags = ASMIntDisableFlags(); 8585 8585 8586 if ( ( !VM_FF_IS_ PENDING(pVM, VM_FF_EMT_RENDEZVOUS | VM_FF_TM_VIRTUAL_SYNC)8586 if ( ( !VM_FF_IS_ANY_SET(pVM, VM_FF_EMT_RENDEZVOUS | VM_FF_TM_VIRTUAL_SYNC) 8587 8587 && !VMCPU_FF_IS_ANY_SET(pVCpu, VMCPU_FF_HM_TO_R3_MASK)) 8588 8588 || ( fStepping /* Optimized for the non-stepping case, so a bit of unnecessary work when stepping. */
Note:
See TracChangeset
for help on using the changeset viewer.