ntdll: Detect if NX support is enabled.

This commit is contained in:
Francois Gouget 2011-08-24 15:17:27 +02:00 committed by Alexandre Julliard
parent 9c11faf619
commit bf05d85f99
1 changed files with 2 additions and 0 deletions

View File

@ -1044,6 +1044,8 @@ void fill_cpu_info(void)
user_shared_data->ProcessorFeatures[PF_COMPARE_EXCHANGE128] = TRUE;
if (strstr(value, "mmx"))
user_shared_data->ProcessorFeatures[PF_MMX_INSTRUCTIONS_AVAILABLE] = TRUE;
if (strstr(value, "nx"))
user_shared_data->ProcessorFeatures[PF_NX_ENABLED] = TRUE;
if (strstr(value, "tsc"))
user_shared_data->ProcessorFeatures[PF_RDTSC_INSTRUCTION_AVAILABLE] = TRUE;
if (strstr(value, "3dnow"))