svn commit: r185295 - head/sys/i386/i386

Takanori Watanabe takawata at FreeBSD.org
Tue Nov 25 05:35:07 PST 2008


Author: takawata
Date: Tue Nov 25 13:35:06 2008
New Revision: 185295
URL: http://svn.freebsd.org/changeset/base/185295

Log:
  Core i7 supports invaliant TSC and the presense is presented on
  this CPUID information, according to recently updated AP485.

Modified:
  head/sys/i386/i386/identcpu.c

Modified: head/sys/i386/i386/identcpu.c
==============================================================================
--- head/sys/i386/i386/identcpu.c	Tue Nov 25 13:33:18 2008	(r185294)
+++ head/sys/i386/i386/identcpu.c	Tue Nov 25 13:35:06 2008	(r185295)
@@ -846,7 +846,8 @@ printcpuinfo(void)
 			 * mention the capability.
 			 */
 			if (!tsc_is_invariant &&
-			    (strcmp(cpu_vendor, "AuthenticAMD") == 0 &&
+			    ((strcmp(cpu_vendor, "AuthenticAMD") == 0 ||
+			      (strcmp(cpu_vendor, "GenuineIntel") == 0))&&
 			    ((amd_pminfo & AMDPM_TSC_INVARIANT) != 0 ||
 			    I386_CPU_FAMILY(cpu_id) >= 0x10 ||
 			    cpu_id == 0x60fb2))) {


More information about the svn-src-head mailing list