Charles Davis : ntdll: Also set CPU_FEATURE_HTT on Mac OS.
Alexandre Julliard
julliard at winehq.org
Tue Oct 11 14:03:38 CDT 2011
Module: wine
Branch: master
Commit: fe6140e0fd6418e13ce515a1c788d7856d2528c7
URL: http://source.winehq.org/git/wine.git/?a=commit;h=fe6140e0fd6418e13ce515a1c788d7856d2528c7
Author: Charles Davis <cdavis at mymail.mines.edu>
Date: Mon Oct 10 15:34:55 2011 -0600
ntdll: Also set CPU_FEATURE_HTT on Mac OS.
---
dlls/ntdll/nt.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/ntdll/nt.c b/dlls/ntdll/nt.c
index 000c62a..6a919aa 100644
--- a/dlls/ntdll/nt.c
+++ b/dlls/ntdll/nt.c
@@ -1280,6 +1280,7 @@ void fill_cpu_info(void)
if (strstr(buffer, "SSE2")) user_shared_data->ProcessorFeatures[PF_XMMI64_INSTRUCTIONS_AVAILABLE] = TRUE;
if (strstr(buffer, "SSE3")) user_shared_data->ProcessorFeatures[PF_SSE3_INSTRUCTIONS_AVAILABLE] = TRUE;
if (strstr(buffer, "PAE")) user_shared_data->ProcessorFeatures[PF_PAE_ENABLED] = TRUE;
+ if (strstr(buffer, "HTT")) cached_sci.FeatureSet |= CPU_FEATURE_HTT;
}
break; /* CPU_TYPE_I386 */
default: break;
More information about the wine-cvs
mailing list