cvs commit: src/sys/sys pmc.h src/sys/dev/hwpmc hwpmc_amd.c hwpmc_mod.c hwpmc_piv.c hwpmc_ppro.c src/sys/i386/include pmc_mdep.h

Joseph Koshy jkoshy at FreeBSD.org
Thu Apr 28 01:13:20 PDT 2005


jkoshy      2005-04-28 08:13:19 UTC

  FreeBSD src repository

  Modified files:
    sys/sys              pmc.h 
    sys/dev/hwpmc        hwpmc_amd.c hwpmc_mod.c hwpmc_piv.c 
                         hwpmc_ppro.c 
    sys/i386/include     pmc_mdep.h 
  Log:
  Return the correct register number in the 'get_msr()' MD function.
  
  Only allow a process to use the x86 RDPMC instruction if it has
  allocated and attached a PMC to itself.
  
  Inform the MD layer of the "pseudo context switch out" that needs
  to be done when the last thread of a process is exiting.
  
  Revision  Changes    Path
  1.4       +20 -7     src/sys/dev/hwpmc/hwpmc_amd.c
  1.6       +24 -7     src/sys/dev/hwpmc/hwpmc_mod.c
  1.5       +23 -5     src/sys/dev/hwpmc/hwpmc_piv.c
  1.4       +11 -2     src/sys/dev/hwpmc/hwpmc_ppro.c
  1.3       +3 -0      src/sys/i386/include/pmc_mdep.h
  1.3       +8 -8      src/sys/sys/pmc.h


More information about the cvs-src mailing list