Date: Sun, 9 Nov 2008 17:37:54 +0000 (UTC) From: Joseph Koshy <jkoshy@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/amd64/include pmc_mdep.h src/sys/conf files.amd64 files.i386 files.pc98 src/sys/dev/hwpmc hwpmc_amd.c hwpmc_amd.h hwpmc_intel.c hwpmc_mod.c hwpmc_pentium.c hwpmc_pentium.h hwpmc_piv.c hwpmc_piv.h hwpmc_ppro.c hwpmc_ppro.h ... Message-ID: <200811091740.mA9HeCxB015813@repoman.freebsd.org>
index | next in thread | raw e-mail
jkoshy 2008-11-09 17:37:54 UTC
FreeBSD src repository
Modified files:
sys/amd64/include pmc_mdep.h
sys/conf files.amd64 files.i386 files.pc98
sys/dev/hwpmc hwpmc_amd.c hwpmc_amd.h hwpmc_mod.c
hwpmc_pentium.c hwpmc_pentium.h
hwpmc_piv.c hwpmc_piv.h hwpmc_ppro.c
hwpmc_ppro.h hwpmc_x86.c
sys/i386/include pmc_mdep.h
sys/modules/hwpmc Makefile
sys/sys pmc.h
Added files:
sys/dev/hwpmc hwpmc_intel.c hwpmc_tsc.c hwpmc_tsc.h
Log:
SVN rev 184802 on 2008-11-09 17:37:54Z by jkoshy
- 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".
Revision Changes Path
1.7 +32 -3 src/sys/amd64/include/pmc_mdep.h
1.124 +2 -0 src/sys/conf/files.amd64
1.609 +2 -0 src/sys/conf/files.i386
1.368 +2 -0 src/sys/conf/files.pc98
1.19 +190 -162 src/sys/dev/hwpmc/hwpmc_amd.c
1.2 +1 -7 src/sys/dev/hwpmc/hwpmc_amd.h
1.6 +227 -0 src/sys/dev/hwpmc/hwpmc_intel.c (new)
1.38 +230 -122 src/sys/dev/hwpmc/hwpmc_mod.c
1.5 +8 -2 src/sys/dev/hwpmc/hwpmc_pentium.c
1.2 +3 -2 src/sys/dev/hwpmc/hwpmc_pentium.h
1.19 +181 -315 src/sys/dev/hwpmc/hwpmc_piv.c
1.2 +4 -3 src/sys/dev/hwpmc/hwpmc_piv.h
1.14 +161 -180 src/sys/dev/hwpmc/hwpmc_ppro.c
1.2 +3 -2 src/sys/dev/hwpmc/hwpmc_ppro.h
1.1 +388 -0 src/sys/dev/hwpmc/hwpmc_tsc.c (new)
1.1 +43 -0 src/sys/dev/hwpmc/hwpmc_tsc.h (new)
1.10 +15 -116 src/sys/dev/hwpmc/hwpmc_x86.c
1.9 +28 -0 src/sys/i386/include/pmc_mdep.h
1.6 +3 -2 src/sys/modules/hwpmc/Makefile
1.18 +61 -35 src/sys/sys/pmc.h
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811091740.mA9HeCxB015813>
