From owner-cvs-all@FreeBSD.ORG Sat Jul 9 17:29:37 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3851616A41C; Sat, 9 Jul 2005 17:29:37 +0000 (GMT) (envelope-from jkoshy@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C2B943D45; Sat, 9 Jul 2005 17:29:37 +0000 (GMT) (envelope-from jkoshy@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j69HTapq079868; Sat, 9 Jul 2005 17:29:36 GMT (envelope-from jkoshy@repoman.freebsd.org) Received: (from jkoshy@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j69HTaeA079867; Sat, 9 Jul 2005 17:29:36 GMT (envelope-from jkoshy) Message-Id: <200507091729.j69HTaeA079867@repoman.freebsd.org> From: Joseph Koshy Date: Sat, 9 Jul 2005 17:29:36 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: 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 X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jul 2005 17:29:37 -0000 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