diff options
author | jkoshy <jkoshy@FreeBSD.org> | 2008-11-09 17:37:54 +0000 |
---|---|---|
committer | jkoshy <jkoshy@FreeBSD.org> | 2008-11-09 17:37:54 +0000 |
commit | fdb59f927ee739bbda9db671e11bf83d5a3143f3 (patch) | |
tree | 9977abc62b812534217ab29faac7edc58cae0570 /LOCKS | |
parent | 957a6ed81ce56e8deae2eb8eb5082acf7bbfe234 (diff) | |
download | FreeBSD-src-fdb59f927ee739bbda9db671e11bf83d5a3143f3.zip FreeBSD-src-fdb59f927ee739bbda9db671e11bf83d5a3143f3.tar.gz |
- Separate PMC class dependent code from other kinds of machine
dependencies. A 'struct pmc_classdep' structure describes operations
on PMCs; 'struct pmc_mdep' contains one or more 'struct pmc_classdep'
structures depending on the CPU in question.
Inside PMC class dependent code, row indices are relative to the
PMCs supported by the PMC class; MI code in "hwpmc_mod.c" translates
global row indices before invoking class dependent operations.
- Augment the OP_GETCPUINFO request with the number of PMCs present
in a PMC class.
- Move code common to Intel CPUs to file "hwpmc_intel.c".
- Move TSC handling to file "hwpmc_tsc.c".
Diffstat (limited to 'LOCKS')
0 files changed, 0 insertions, 0 deletions