VirtualBox

Changeset 80107 in vbox


Ignore:
Timestamp:
Aug 1, 2019 6:38:27 PM (5 years ago)
Author:
vboxsync
Message:

hm_vmx.h: Remove determining of VMX_USE_MSC_INTRINSICS macro that is no longer needed here (was previously moved to hmvmxinline.h where it's defined and used currently).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/hm_vmx.h

    r79755 r80107  
    3333#include <iprt/x86.h>
    3434#include <iprt/assertcompile.h>
    35 
    36 /* In Visual C++ versions prior to 2012, the vmx intrinsics are only available
    37    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 1
    52 #else
    53 # define VMX_USE_MSC_INTRINSICS 0
    54 #endif
    5535
    5636
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