aboutsummaryrefslogtreecommitdiffstats
path: root/com32/gpllib
diff options
context:
space:
mode:
authorPierre-Alexandre Meyer <pierre@ning.com>2009-10-27 13:04:31 -0700
committerPierre-Alexandre Meyer <pierre@ning.com>2009-10-27 13:04:31 -0700
commit57c8555003f53800da1bb93a765d80678ae230ae (patch)
treeab40516182979cff6e3a7d2c5846bc6065aca4b1 /com32/gpllib
parent47ac912cd5d8df0a96b8f5b98d7476f7cfb1cb19 (diff)
parent3fc3126d0c7df5701680e043c34f200166f24564 (diff)
downloadsyslinux-57c8555003f53800da1bb93a765d80678ae230ae.tar.gz
syslinux-57c8555003f53800da1bb93a765d80678ae230ae.tar.xz
syslinux-57c8555003f53800da1bb93a765d80678ae230ae.zip
Merge commit 'erwan/master' into hdt-0.3.5
Diffstat (limited to 'com32/gpllib')
-rw-r--r--com32/gpllib/cpuid.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/com32/gpllib/cpuid.c b/com32/gpllib/cpuid.c
index 6d464c7e..fb69cef6 100644
--- a/com32/gpllib/cpuid.c
+++ b/com32/gpllib/cpuid.c
@@ -295,6 +295,8 @@ void set_cpu_flags(struct cpuinfo_x86 *c, s_cpu * cpu)
cpu->flags.nowext = cpu_has(c, X86_FEATURE_3DNOWEXT);
cpu->flags.now = cpu_has(c, X86_FEATURE_3DNOW);
cpu->flags.smp = find_smp_config();
+ cpu->flags.vmx = cpu_has(c, X86_FEATURE_VMX);
+ cpu->flags.svm = cpu_has(c, X86_FEATURE_SVM);
}
void set_generic_info(struct cpuinfo_x86 *c, s_cpu * cpu)