diff options
author | Justin Hibbits <jhibbits@FreeBSD.org> | 2015-04-18 21:39:17 +0000 |
---|---|---|
committer | Justin Hibbits <jhibbits@FreeBSD.org> | 2015-04-18 21:39:17 +0000 |
commit | a745246822b524c3527fd87eb683cfd8d0d75b58 (patch) | |
tree | 0aed71c597d2cf9b3f0db9e6f5404c8b7f752e9c /sys/dev/hwpmc/hwpmc_powerpc.h | |
parent | 3d0045bb2b27da7ad0c1befac8cd3b421cd52d12 (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.h | 1 |
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); |