aboutsummaryrefslogtreecommitdiffstats
path: root/com32/include
diff options
context:
space:
mode:
authorErwan Velu <erwan.velu@free.fr>2009-09-29 20:31:11 +0200
committerErwan Velu <erwan.velu@free.fr>2009-09-29 20:31:11 +0200
commit8ba991f9e17c5bdaa24dccbc5aa0a4e5db690756 (patch)
tree60a959f97ac26294cfcca3e48546934fe213d6ef /com32/include
parent15c6dc79f8d488c585057987eefddd72b114534e (diff)
downloadsyslinux-8ba991f9e17c5bdaa24dccbc5aa0a4e5db690756.tar.gz
syslinux-8ba991f9e17c5bdaa24dccbc5aa0a4e5db690756.tar.xz
syslinux-8ba991f9e17c5bdaa24dccbc5aa0a4e5db690756.zip
Adding VMX & SVM cpu flags
Impact: Hardware virtualization is now detected Minor update to detect vmx & svm cpu flags
Diffstat (limited to 'com32/include')
-rw-r--r--com32/include/cpufeature.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/com32/include/cpufeature.h b/com32/include/cpufeature.h
index 2fd47579..036631a7 100644
--- a/com32/include/cpufeature.h
+++ b/com32/include/cpufeature.h
@@ -72,6 +72,7 @@
#define X86_FEATURE_XMM3 (4*32+ 0) /* Streaming SIMD Extensions-3 */
#define X86_FEATURE_MWAIT (4*32+ 3) /* Monitor/Mwait support */
#define X86_FEATURE_DSCPL (4*32+ 4) /* CPL Qualified Debug Store */
+#define X86_FEATURE_VMX (4*32+ 5) /* Hardware virtualization */
#define X86_FEATURE_EST (4*32+ 7) /* Enhanced SpeedStep */
#define X86_FEATURE_TM2 (4*32+ 8) /* Thermal Monitor 2 */
#define X86_FEATURE_CID (4*32+10) /* Context ID */
@@ -87,6 +88,7 @@
/* More extended AMD flags: CPUID level 0x80000001, ecx, word 6 */
#define X86_FEATURE_LAHF_LM (6*32+ 0) /* LAHF/SAHF in long mode */
#define X86_FEATURE_CMP_LEGACY (6*32+ 1) /* If yes HyperThreading not valid */
+#define X86_FEATURE_SVM (6*32+ 2) /* Secure virtual machine */
#endif /* __ASM_I386_CPUFEATURE_H */