Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch



Module Name:    src
Committed By:   xtraeme
Date:           Sun Sep  3 06:49:57 UTC 2006

Modified Files:
        src/sys/arch/i386/i386: est.c identcpu.c
        src/sys/arch/i386/include: cpu.h
        src/sys/arch/x86/include: specialreg.h

Log Message:
Update the enhanced speedstep driver and sync the code with OpenBSD:

est.c:

* Use a quintuplet (vendor, MHz_hi, mV_hi, MHz_lo, mV_lo } to match
  CPUs more correctly than parsing the brand string.
* Add support for a bunch of models.
* Create a fake table on the fly if the CPU is unknown (there's no
  table for it) with the current/highest/lowest frequency.

specialreg.h:

* Add some MSRs needed to get the bus clock value.

identcpu.c:

* Add functions specific to Pentium III, Pentium M and Pentium 4 to
  get the bus clock value.

Note that the new fake table code from Simon Burge is not included on
this commit.

Ok'ed by simonb and dogcow.


To generate a diff of this commit:
cvs rdiff -r1.25 -r1.26 src/sys/arch/i386/i386/est.c
cvs rdiff -r1.38 -r1.39 src/sys/arch/i386/i386/identcpu.c
cvs rdiff -r1.127 -r1.128 src/sys/arch/i386/include/cpu.h
cvs rdiff -r1.10 -r1.11 src/sys/arch/x86/include/specialreg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index