aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/msr.h
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-05-20 22:28:12 +0000
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-05-20 22:28:12 +0000
commit55cf9f17ce5e026f029fe798d7514e42a4c31059 (patch)
tree4a11581f754fbd36849cf64b0180d08ce97c7028 /xen/include/asm-x86/msr.h
parent253b9b29987067c1bdca1e948369b1e340450b3d (diff)
downloadxen-55cf9f17ce5e026f029fe798d7514e42a4c31059.tar.gz
xen-55cf9f17ce5e026f029fe798d7514e42a4c31059.tar.bz2
xen-55cf9f17ce5e026f029fe798d7514e42a4c31059.zip
bitkeeper revision 1.1494 (428e647cwMGQpFEvYX5LZ0S3SXAZVQ)
Read VMX configuration details from architectural registers. Signed-off-by: Nitin Kamble <nitin.a.kamble@intel.com> Signed-off-by: Jun Nakajima <jun.nakajima@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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/xen/include/asm-x86/msr.h b/xen/include/asm-x86/msr.h
index 5eeda436a7..e576613c13 100644
--- a/xen/include/asm-x86/msr.h
+++ b/xen/include/asm-x86/msr.h
@@ -79,6 +79,12 @@
#define MSR_IA32_PLATFORM_ID 0x17
#define MSR_IA32_EBL_CR_POWERON 0x2a
+/* MSRs & bits used for VMX enabling */
+#define MSR_IA32_VMX_BASIC_MSR 0x480
+#define IA32_FEATURE_CONTROL_MSR 0x3a
+#define IA32_FEATURE_CONTROL_MSR_LOCK 0x1
+#define IA32_FEATURE_CONTROL_MSR_ENABLE_VMXON 0x4
+
/* AMD/K8 specific MSRs */
#define MSR_EFER 0xc0000080 /* extended feature register */
#define MSR_STAR 0xc0000081 /* legacy mode SYSCALL target */