Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Sep 2009 22:50:18 +0000 (UTC)
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r197549 - user/rpaulo/armpmc/sys
Message-ID:  <200909272250.n8RMoIFJ036891@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rpaulo
Date: Sun Sep 27 22:50:17 2009
New Revision: 197549
URL: http://svn.freebsd.org/changeset/base/197549

Log:
  add xscale

Modified:
  user/rpaulo/armpmc/sys/pmc.h

Modified: user/rpaulo/armpmc/sys/pmc.h
==============================================================================
--- user/rpaulo/armpmc/sys/pmc.h	Sun Sep 27 22:49:29 2009	(r197548)
+++ user/rpaulo/armpmc/sys/pmc.h	Sun Sep 27 22:50:17 2009	(r197549)
@@ -84,7 +84,8 @@
 	__PMC_CPU(INTEL_CORE2,	0x88,	"Intel Core2")		\
 	__PMC_CPU(INTEL_CORE2EXTREME,	0x89,	"Intel Core2 Extreme")	\
 	__PMC_CPU(INTEL_ATOM,	0x8A,	"Intel Atom") \
-	__PMC_CPU(INTEL_COREI7, 0x8B,   "Intel Core i7")
+	__PMC_CPU(INTEL_COREI7, 0x8B,   "Intel Core i7")	\
+	__PMC_CPU(INTEL_XSCALE,	0x8C,	"Intel XScale")
 
 enum pmc_cputype {
 #undef	__PMC_CPU
@@ -93,7 +94,7 @@ enum pmc_cputype {
 };
 
 #define	PMC_CPU_FIRST	PMC_CPU_AMD_K7
-#define	PMC_CPU_LAST	PMC_CPU_INTEL_COREI7
+#define	PMC_CPU_LAST	PMC_CPU_INTEL_XSCALE
 
 /*
  * Classes of PMCs
@@ -107,7 +108,8 @@ enum pmc_cputype {
 	__PMC_CLASS(P6)		/* Intel Pentium Pro counters */	\
 	__PMC_CLASS(P4)		/* Intel Pentium-IV counters */		\
 	__PMC_CLASS(IAF)	/* Intel Core2/Atom, fixed function */	\
-	__PMC_CLASS(IAP)	/* Intel Core...Atom, programmable */
+	__PMC_CLASS(IAP)	/* Intel Core...Atom, programmable */	\
+	__PMC_CLASS(XSCALE)	/* Intel XScale counters */
 
 enum pmc_class {
 #undef  __PMC_CLASS
@@ -116,7 +118,7 @@ enum pmc_class {
 };
 
 #define	PMC_CLASS_FIRST	PMC_CLASS_TSC
-#define	PMC_CLASS_LAST	PMC_CLASS_IAP
+#define	PMC_CLASS_LAST	PMC_CLASS_XSCALE
 
 /*
  * A PMC can be in the following states:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909272250.n8RMoIFJ036891>