aboutsummaryrefslogtreecommitdiff
path: root/sys/conf/files.mips
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2015-04-05 02:57:02 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2015-04-05 02:57:02 +0000
commitf6e6460dfc3e1aec5a2110d785a40d8db83a979e (patch)
treea5a46d151e026f5b1410ee7a9c0896f1bed72265 /sys/conf/files.mips
parentc4f9a741681b0900cdd57916ec29ce23f2bcdb74 (diff)
Add support for the MIPS74K SoC family performance counters events.
These are similar to the mips24k performance counters - some are available on perfcnt0/3, some are available on perfcnt1/4. However, the events aren't all the same. * Add the events, named the same as from Linux oprofile. * Verify they're the same as "MIPS32(R) 74KTM Processor Core Family Software User's Manual"; Document Number: MD00519; Revision 01.05. * Rename INSTRUCTIONS to something else, so it doesn't clash with the alias INSTRUCTIONS. I'll try to tidy this up later; there are a few other aliases to add and shuffle around. Tested: * QCA9558 SoC (AP135 board) - MIPS74Kc core (no FPU.) * make universe; where it didn't fail for other reasons. TODO: * It'd be nice to support the four performance counters in at least this hardware, rather than just two. Reviewed by: bsdimp ("looks good; don't break world".)
Notes
Notes: svn path=/head/; revision=281098
Diffstat (limited to 'sys/conf/files.mips')
-rw-r--r--sys/conf/files.mips1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/files.mips b/sys/conf/files.mips
index 3677de43ae1b..4bc6775a1fd4 100644
--- a/sys/conf/files.mips
+++ b/sys/conf/files.mips
@@ -89,3 +89,4 @@ dev/nvram2env/nvram2env.c optional nvram2env
# hwpmc support
dev/hwpmc/hwpmc_mips.c optional hwpmc
dev/hwpmc/hwpmc_mips24k.c optional hwpmc_mips24k
+dev/hwpmc/hwpmc_mips74k.c optional hwpmc_mips74k