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

Joseph Koshy jkoshy at FreeBSD.org
Sat Jul 9 17:29:37 GMT 2005


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


More information about the cvs-all mailing list