first fix for SMEP

This commit is contained in:
Stanislav Shwartsman 2011-05-29 18:08:37 +00:00
parent e9ed944ba8
commit 5748c6b9f5

View File

@ -173,7 +173,7 @@ Bit32u BX_CPU_C::get_ext3_cpuid_features(void)
if (BX_CPUID_SUPPORT_ISA_EXTENSION(BX_CPU_FSGSBASE))
features |= BX_CPUID_EXT3_FSGSBASE;
if (BX_CPUID_SUPPORT_ISA_EXTENSION(BX_CPU_SMEP))
if (BX_CPUID_SUPPORT_CPU_EXTENSION(BX_CPU_SMEP))
features |= BX_CPUID_EXT3_SMEP;
return features;