summaryrefslogtreecommitdiffstats
path: root/sys/dev/hwpmc
diff options
context:
space:
mode:
authorgnn <gnn@FreeBSD.org>2013-12-20 20:22:10 +0000
committergnn <gnn@FreeBSD.org>2013-12-20 20:22:10 +0000
commit39ab4f7cb273ecafb038e027dfea80e2b22fc22f (patch)
tree753ada2172ebb13e86962bc5ec0b013febc65667 /sys/dev/hwpmc
parent63a068a7181b8e09f4f54c22509ae556d2636cce (diff)
downloadFreeBSD-src-39ab4f7cb273ecafb038e027dfea80e2b22fc22f.zip
FreeBSD-src-39ab4f7cb273ecafb038e027dfea80e2b22fc22f.tar.gz
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.
Diffstat (limited to 'sys/dev/hwpmc')
-rw-r--r--sys/dev/hwpmc/hwpmc_intel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/hwpmc/hwpmc_intel.c b/sys/dev/hwpmc/hwpmc_intel.c
index 95b607a..45eb5eb 100644
--- a/sys/dev/hwpmc/hwpmc_intel.c
+++ b/sys/dev/hwpmc/hwpmc_intel.c
@@ -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;
OpenPOWER on IntegriCloud