summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrpaulo <rpaulo@FreeBSD.org>2009-10-02 11:14:12 +0000
committerrpaulo <rpaulo@FreeBSD.org>2009-10-02 11:14:12 +0000
commitfddbf15c713719253ce0fdc5a2fe39371674ec76 (patch)
tree69e2c5cebd7ba398372f4a120f31fd15731d80a4
parentd3d5e9896cd639a79d1b5723113258832f8bbfbc (diff)
downloadFreeBSD-src-fddbf15c713719253ce0fdc5a2fe39371674ec76.zip
FreeBSD-src-fddbf15c713719253ce0fdc5a2fe39371674ec76.tar.gz
Reserve numbers for XScale.
Reviewed by: jkoshy
-rw-r--r--sys/sys/pmc.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/sys/pmc.h b/sys/sys/pmc.h
index 68d7df0..3bad443 100644
--- a/sys/sys/pmc.h
+++ b/sys/sys/pmc.h
@@ -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, 0x100, "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:
OpenPOWER on IntegriCloud