Date: Sat, 9 Jul 2005 17:29:36 +0000 (UTC) From: Joseph Koshy <jkoshy@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys pmc.h src/sys/dev/hwpmc hwpmc_amd.c hwpmc_logging.c hwpmc_mod.c hwpmc_piv.c hwpmc_ppro.c Message-ID: <200507091729.j69HTaeA079867@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jkoshy 2005-07-09 17:29:36 UTC FreeBSD src repository Modified files: sys/sys pmc.h sys/dev/hwpmc hwpmc_amd.c hwpmc_logging.c hwpmc_mod.c hwpmc_piv.c hwpmc_ppro.c Log: sys/dev/hwpmc/hwpmc_{amd,piv,ppro}.c: - Update driver interrupt statistics correctly. sys/sys/pmc.h, sys/dev/hwpmc/hwpmc_mod.c: - Fix a bug affecting debug printfs. - Move the 'stalled' flag from being in a bit in the 'pm_flags' field of a 'struct pmc' to a field of its own in the same structure. This flag is updated from the NMI handler and keeping it separate makes it easier to avoid races with other parts of the code. sys/dev/hwpmc/hwpmc_logging.c: - Do arithmetic with 'uintptr_t' types rather that casting to and from 'char *'. Approved by: re (scottl) Revision Changes Path 1.9 +5 -3 src/sys/dev/hwpmc/hwpmc_amd.c 1.3 +20 -14 src/sys/dev/hwpmc/hwpmc_logging.c 1.10 +13 -13 src/sys/dev/hwpmc/hwpmc_mod.c 1.9 +3 -2 src/sys/dev/hwpmc/hwpmc_piv.c 1.8 +3 -2 src/sys/dev/hwpmc/hwpmc_ppro.c 1.8 +2 -2 src/sys/sys/pmc.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507091729.j69HTaeA079867>