]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r261342
authorjhibbits <jhibbits@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 14 Mar 2014 00:12:53 +0000 (00:12 +0000)
committerjhibbits <jhibbits@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 14 Mar 2014 00:12:53 +0000 (00:12 +0000)
commit0bd0d6ac96563a35de39a45fdae449c9a486cd0c
tree16f2f6c6bbc74af38d48134a3be33d23902ee61c
parent984e7de5ad449b2ceaf348724057bde3604f8628
MFC r261342

Add hwpmc(4) support for the PowerPC 970 class processors, direct events.
This also fixes asserts on removal of the module for the mpc74xx.

The PowerPC 970 processors have two different types of events: direct events
and indirect events.  Thus far only direct events are supported.  I included
some documentation in the driver on how indirect events work, but support is
for the future.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263122 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libpmc/libpmc.c
sys/conf/files.powerpc
sys/dev/hwpmc/hwpmc_mpc7xxx.c
sys/dev/hwpmc/hwpmc_powerpc.c
sys/dev/hwpmc/hwpmc_powerpc.h
sys/dev/hwpmc/hwpmc_ppc970.c [new file with mode: 0644]
sys/dev/hwpmc/pmc_events.h
sys/powerpc/include/pmc_mdep.h
sys/powerpc/include/spr.h
sys/sys/pmc.h