aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/msr.h
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-08-30 18:53:54 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-08-30 18:53:54 +0100
commit527571ecefe60c8800cee21823917d3aa8cbfca1 (patch)
tree18c37eee3090c5137d8be34f6f1ed2038bc2784f /xen/include/asm-x86/msr.h
parentaf6a326c1a6911fb9ef1e56de1912b1b2e1c4e53 (diff)
downloadxen-527571ecefe60c8800cee21823917d3aa8cbfca1.tar.gz
xen-527571ecefe60c8800cee21823917d3aa8cbfca1.tar.bz2
xen-527571ecefe60c8800cee21823917d3aa8cbfca1.zip
Support extensions to Intel architecture for TXT/SMX.
Signed-off-by: Joseph Cihula <joseph.cihula@intel.com> Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/asm-x86/msr.h')
-rw-r--r--xen/include/asm-x86/msr.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/xen/include/asm-x86/msr.h b/xen/include/asm-x86/msr.h
index 1f89ee0a37..1e24537566 100644
--- a/xen/include/asm-x86/msr.h
+++ b/xen/include/asm-x86/msr.h
@@ -122,8 +122,11 @@ static inline void wrmsrl(unsigned int msr, __u64 val)
#define MSR_IA32_VMX_CR4_FIXED1 0x489
#define MSR_IA32_VMX_PROCBASED_CTLS2 0x48b
#define IA32_FEATURE_CONTROL_MSR 0x3a
-#define IA32_FEATURE_CONTROL_MSR_LOCK 0x1
-#define IA32_FEATURE_CONTROL_MSR_ENABLE_VMXON 0x4
+#define IA32_FEATURE_CONTROL_MSR_LOCK 0x0001
+#define IA32_FEATURE_CONTROL_MSR_ENABLE_VMXON_INSIDE_SMX 0x0002
+#define IA32_FEATURE_CONTROL_MSR_ENABLE_VMXON_OUTSIDE_SMX 0x0004
+#define IA32_FEATURE_CONTROL_MSR_SENTER_PARAM_CTL 0x7f00
+#define IA32_FEATURE_CONTROL_MSR_ENABLE_SENTER 0x8000
/* AMD/K8 specific MSRs */
#define MSR_EFER 0xc0000080 /* extended feature register */