aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/hwpmc/hwpmc_powerpc.h
diff options
context:
space:
mode:
authorJustin Hibbits <jhibbits@FreeBSD.org>2015-04-18 21:39:17 +0000
committerJustin Hibbits <jhibbits@FreeBSD.org>2015-04-18 21:39:17 +0000
commita745246822b524c3527fd87eb683cfd8d0d75b58 (patch)
tree0aed71c597d2cf9b3f0db9e6f5404c8b7f752e9c /sys/dev/hwpmc/hwpmc_powerpc.h
parent3d0045bb2b27da7ad0c1befac8cd3b421cd52d12 (diff)
Implement hwpmc(4) for Freescale e500 core.
This supports e500v1, e500v2, and e500mc. Tested only on e500v2, but the performance counters are identical across all, with e500mc having some additional events. Relnotes: Yes
Notes
Notes: svn path=/head/; revision=281713
Diffstat (limited to 'sys/dev/hwpmc/hwpmc_powerpc.h')
-rw-r--r--sys/dev/hwpmc/hwpmc_powerpc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/hwpmc/hwpmc_powerpc.h b/sys/dev/hwpmc/hwpmc_powerpc.h
index 8f0b8ce1a077..66eaa21d4a86 100644
--- a/sys/dev/hwpmc/hwpmc_powerpc.h
+++ b/sys/dev/hwpmc/hwpmc_powerpc.h
@@ -51,6 +51,7 @@ struct powerpc_cpu {
extern struct powerpc_cpu **powerpc_pcpu;
+extern int pmc_e500_initialize(struct pmc_mdep *pmc_mdep);
extern int pmc_mpc7xxx_initialize(struct pmc_mdep *pmc_mdep);
extern int pmc_ppc970_initialize(struct pmc_mdep *pmc_mdep);