mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 04:10:04 +00:00
ntdll: Detect if NX support is enabled.
This commit is contained in:
parent
9c11faf619
commit
bf05d85f99
@ -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"))
|
||||
|
Loading…
Reference in New Issue
Block a user