Changeset 74803 in vbox for trunk/include/VBox
- Timestamp:
- Oct 12, 2018 2:36:35 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/vm.h
r74798 r74803 702 702 #ifdef VMCPU_WITH_64_BIT_FFS 703 703 # if ARCH_BITS > 32 704 # define VMCPU_FF_SET_MASK( a_pVCpu, fFlags) \705 do { ASMAtomicOrU64(& a_pVCpu->fLocalForcedActions, (fFlags)); } while (0)704 # define VMCPU_FF_SET_MASK(pVCpu, fFlags) \ 705 do { ASMAtomicOrU64(&pVCpu->fLocalForcedActions, (fFlags)); } while (0) 706 706 # else 707 # define VMCPU_FF_SET_MASK( a_pVCpu, fFlags) do { \708 if (!((fFlags) >> 32)) ASMAtomicOrU32((uint32_t volatile *)& a_pVCpu->fLocalForcedActions, (uint32_t)(fFlags)); \709 else ASMAtomicOrU64(& a_pVCpu->fLocalForcedActions, (fFlags)); \707 # define VMCPU_FF_SET_MASK(pVCpu, fFlags) do { \ 708 if (!((fFlags) >> 32)) ASMAtomicOrU32((uint32_t volatile *)&pVCpu->fLocalForcedActions, (uint32_t)(fFlags)); \ 709 else ASMAtomicOrU64(&pVCpu->fLocalForcedActions, (fFlags)); \ 710 710 } while (0) 711 711 # endif 712 712 #else 713 # define VMCPU_FF_SET_MASK( a_pVCpu, fFlags) \714 do { ASMAtomicOrU32(& a_pVCpu->fLocalForcedActions, (fFlags)); } while (0)713 # define VMCPU_FF_SET_MASK(pVCpu, fFlags) \ 714 do { ASMAtomicOrU32(&pVCpu->fLocalForcedActions, (fFlags)); } while (0) 715 715 #endif 716 716
Note:
See TracChangeset
for help on using the changeset viewer.