freebsd-dev/sys/i386
Joseph Koshy 0cfab8ddc1 - Add support for PMCs in Intel CPUs of Family 6, model 0xE (Core Solo
and Core Duo), models 0xF (Core2), model 0x17 (Core2Extreme) and
  model 0x1C (Atom).

  In these CPUs, the actual numbers, kinds and widths of PMCs present
  need to queried at run time.  Support for specific "architectural"
  events also needs to be queried at run time.

  Model 0xE CPUs support programmable PMCs, subsequent CPUs
  additionally support "fixed-function" counters.

- Use event names that are close to vendor documentation, taking in
  account that:
  - events with identical semantics on two or more CPUs in this family
    can have differing names in vendor documentation,
  - identical vendor event names may map to differing events across
    CPUs,
  - each type of CPU supports a different subset of measurable
    events.

  Fixed-function and programmable counters both use the same vendor
  names for events.  The use of a class name prefix ("iaf-" or
  "iap-" respectively) permits these to be distinguished.

- In libpmc, refactor pmc_name_of_event() into a public interface
  and an internal helper function, for use by log handling code.

- Minor code tweaks: staticize a global, freshen a few comments.

Tested by:	gnn
2008-11-27 09:00:47 +00:00
..
acpica Remove unit2minor() use from kernel code. 2008-09-26 14:19:52 +00:00
bios Replace all calls to minor() with dev2unit(). 2008-09-27 08:51:18 +00:00
compile
conf repair config file from spamming 2008-11-14 07:05:51 +00:00
cpufreq Remove an unused variable. 2008-11-26 22:33:55 +00:00
i386 Use newly introduced cpu_vendor_id to make invariant TSC detection more 2008-11-26 19:29:33 +00:00
ibcs2 Add sv_flags field to struct sysentvec with intention to provide description 2008-11-22 12:36:15 +00:00
include - Add support for PMCs in Intel CPUs of Family 6, model 0xE (Core Solo 2008-11-27 09:00:47 +00:00
isa style(9) nit: remove unnecessary {} pair. 2008-10-28 04:32:41 +00:00
linux Add sv_flags field to struct sysentvec with intention to provide description 2008-11-22 12:36:15 +00:00
pci Add a 'hw.pci.mcfg' tunable. It can be set to 0 to disable memory-mapped 2008-09-11 21:42:11 +00:00
svr4 Since version 4.3, gcc changed its behaviour concerning the i386/amd64 2008-03-13 10:54:38 +00:00
xbox In keeping with style(9)'s recommendations on macros, use a ';' 2008-03-16 10:58:09 +00:00
xen only call hardclock on cpu0 2008-10-25 20:42:10 +00:00
Makefile Update entries for building tags. 2007-05-13 18:21:54 +00:00