Rudolf Mayerhofer : ntdll: Set CPU_FEATURE_HTT when running on a HTT capable system.

Alexandre Julliard julliard at winehq.org
Mon Oct 4 11:04:01 CDT 2010


Module: wine
Branch: master
Commit: d0e0e69ff17f918478f3fb4aadd0c096dc8f134c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d0e0e69ff17f918478f3fb4aadd0c096dc8f134c

Author: Rudolf Mayerhofer <rm at eightyfive.net>
Date:   Sun Oct  3 14:23:36 2010 +0200

ntdll: Set CPU_FEATURE_HTT when running on a HTT capable system.

---

 dlls/ntdll/nt.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/ntdll/nt.c b/dlls/ntdll/nt.c
index ba8cbe7..b323c23 100644
--- a/dlls/ntdll/nt.c
+++ b/dlls/ntdll/nt.c
@@ -1063,7 +1063,8 @@ void fill_cpu_info(void)
                     user_shared_data->ProcessorFeatures[PF_XMMI64_INSTRUCTIONS_AVAILABLE] = TRUE;
                 if (strstr(value, "pae"))
                     user_shared_data->ProcessorFeatures[PF_PAE_ENABLED] = TRUE;
-
+                if (strstr(value, "ht"))
+                    cached_sci.FeatureSet |= CPU_FEATURE_HTT;
                 continue;
             }
 	}




More information about the wine-cvs mailing list