svn commit: r259665 - head/sys/dev/hwpmc

George V. Neville-Neil gnn at FreeBSD.org
Fri Dec 20 20:22:11 UTC 2013


Author: gnn
Date: Fri Dec 20 20:22:10 2013
New Revision: 259665
URL: http://svnweb.freebsd.org/changeset/base/259665

Log:
  Add another Haswell model (0x45) to the set of supported chips.
  Model 0x45 appears, for example, in late 2013 Mac Book Pro models
  and is properly emulated by VMware.

Modified:
  head/sys/dev/hwpmc/hwpmc_intel.c

Modified: head/sys/dev/hwpmc/hwpmc_intel.c
==============================================================================
--- head/sys/dev/hwpmc/hwpmc_intel.c	Fri Dec 20 20:14:54 2013	(r259664)
+++ head/sys/dev/hwpmc/hwpmc_intel.c	Fri Dec 20 20:22:10 2013	(r259665)
@@ -173,6 +173,7 @@ pmc_intel_initialize(void)
 			nclasses = 3;
 			break;
 		case 0x3C:	/* Per Intel document 325462-045US 01/2013. */
+		case 0x45:
 			cputype = PMC_CPU_INTEL_HASWELL;
 			nclasses = 5;
 			break;


More information about the svn-src-all mailing list