Changeset 80107 in vbox
- Timestamp:
- Aug 1, 2019 6:38:27 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/hm_vmx.h
r79755 r80107 33 33 #include <iprt/x86.h> 34 34 #include <iprt/assertcompile.h> 35 36 /* In Visual C++ versions prior to 2012, the vmx intrinsics are only available37 when targeting AMD64. */38 #if RT_INLINE_ASM_USES_INTRIN >= 16 && defined(RT_ARCH_AMD64)39 # pragma warning(push)40 # pragma warning(disable:4668) /* Several incorrect __cplusplus uses. */41 # pragma warning(disable:4255) /* Incorrect __slwpcb prototype. */42 # include <intrin.h>43 # pragma warning(pop)44 /* We always want them as intrinsics, no functions. */45 # pragma intrinsic(__vmx_on)46 # pragma intrinsic(__vmx_off)47 # pragma intrinsic(__vmx_vmclear)48 # pragma intrinsic(__vmx_vmptrld)49 # pragma intrinsic(__vmx_vmread)50 # pragma intrinsic(__vmx_vmwrite)51 # define VMX_USE_MSC_INTRINSICS 152 #else53 # define VMX_USE_MSC_INTRINSICS 054 #endif55 35 56 36
Note:
See TracChangeset
for help on using the changeset viewer.