From fdb59f927ee739bbda9db671e11bf83d5a3143f3 Mon Sep 17 00:00:00 2001 From: jkoshy Date: Sun, 9 Nov 2008 17:37:54 +0000 Subject: - 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". --- sys/conf/files.pc98 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/conf/files.pc98') diff --git a/sys/conf/files.pc98 b/sys/conf/files.pc98 index 364e8a9..eebc4d9 100644 --- a/sys/conf/files.pc98 +++ b/sys/conf/files.pc98 @@ -110,9 +110,11 @@ dev/ed/if_ed_wd80x3.c optional ed isa dev/fb/fb.c optional fb | gdc dev/fe/if_fe_cbus.c optional fe isa dev/hwpmc/hwpmc_amd.c optional hwpmc +dev/hwpmc/hwpmc_intel.c optional hwpmc dev/hwpmc/hwpmc_pentium.c optional hwpmc dev/hwpmc/hwpmc_piv.c optional hwpmc dev/hwpmc/hwpmc_ppro.c optional hwpmc +dev/hwpmc/hwpmc_tsc.c optional hwpmc dev/hwpmc/hwpmc_x86.c optional hwpmc dev/io/iodev.c optional io dev/kbd/kbd.c optional pckbd | sc | ukbd -- cgit v1.1