VirtualBox

Changeset 73225 in vbox


Ignore:
Timestamp:
Jul 19, 2018 7:49:50 AM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
123830
Message:

x86.h: Nested VMX: bugref:9180 Added missing bits for MSR_IA32_FEATURE_CONTROL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/x86.h

    r73073 r73225  
    11531153
    11541154/** CPU Feature control. */
    1155 #define MSR_IA32_FEATURE_CONTROL            0x3A
    1156 #define MSR_IA32_FEATURE_CONTROL_LOCK       RT_BIT_32(0)
    1157 #define MSR_IA32_FEATURE_CONTROL_SMX_VMXON  RT_BIT_32(1)
    1158 #define MSR_IA32_FEATURE_CONTROL_VMXON      RT_BIT_32(2)
     1155#define MSR_IA32_FEATURE_CONTROL                      0x3A
     1156/** Feature control - Lock MSR from writes (R/W0). */
     1157#define MSR_IA32_FEATURE_CONTROL_LOCK                 RT_BIT_64(0)
     1158/** Feature control - Enable VMX inside SMX operation (R/WL). */
     1159#define MSR_IA32_FEATURE_CONTROL_SMX_VMXON            RT_BIT_64(1)
     1160/** Feature control - Enable VMX outside SMX operationr (R/WL). */
     1161#define MSR_IA32_FEATURE_CONTROL_VMXON                RT_BIT_64(2)
     1162/** Feature control - SENTER local functions enable (R/WL).  */
     1163#define MSR_IA32_FEATURE_CONTROL_SENTER_LOCAL_FN_0    RT_BIT_64(8)
     1164#define MSR_IA32_FEATURE_CONTROL_SENTER_LOCAL_FN_1    RT_BIT_64(9)
     1165#define MSR_IA32_FEATURE_CONTROL_SENTER_LOCAL_FN_2    RT_BIT_64(10)
     1166#define MSR_IA32_FEATURE_CONTROL_SENTER_LOCAL_FN_3    RT_BIT_64(11)
     1167#define MSR_IA32_FEATURE_CONTROL_SENTER_LOCAL_FN_4    RT_BIT_64(12)
     1168#define MSR_IA32_FEATURE_CONTROL_SENTER_LOCAL_FN_5    RT_BIT_64(13)
     1169#define MSR_IA32_FEATURE_CONTROL_SENTER_LOCAL_FN_6    RT_BIT_64(14)
     1170/** Feature control - SENTER global enable (R/WL). */
     1171#define MSR_IA32_FEATURE_CONTROL_SENTER_GLOBAL_EN     RT_BIT_64(15)
     1172/** Feature control - SGX launch control enable (R/WL). */
     1173#define MSR_IA32_FEATURE_CONTROL_SGX_LAUNCH_EN        RT_BIT_64(17)
     1174/** Feature control - SGX global enable (R/WL). */
     1175#define MSR_IA32_FEATURE_CONTROL_SGX_GLOBAL_EN        RT_BIT_64(18)
     1176/** Feature control - LMCE on (R/WL). */
     1177#define MSR_IA32_FEATURE_CONTROL_LMCE                 RT_BIT_64(20)
    11591178
    11601179/** Per-processor TSC adjust MSR. */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette