Commit bf05d85f authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

ntdll: Detect if NX support is enabled.

parent 9c11faf6
......@@ -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"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment