diff options
author | Dimitry Andric <dim@cvs.openbsd.org> | 2006-05-19 19:43:42 +0000 |
---|---|---|
committer | Dimitry Andric <dim@cvs.openbsd.org> | 2006-05-19 19:43:42 +0000 |
commit | 3e51a11d950e38614a87079be7136f45b7c65d21 (patch) | |
tree | ebcddf0a8e948770a21394272b27b7c3c195859c /sys/arch/i386/include/cpu.h | |
parent | 439f511d167e44582850d991636b880b03a8d02d (diff) |
Reimplement the Enhanced SpeedStep CPU detection by using the
quintuplet { vendor, MHz_hi, mV_hi, MHz_lo, mV_lo }, which works much
better than parsing the branding string. It also makes it easier to add
new models later.
Shouldn't break any CPU's which previously worked okay with EST; if
there's any trouble, please let me know!
Also adds quite a number of VIA C7-M models, and a few more Pentium M
models, all from FreeBSD.
"go for it" deraadt@
Diffstat (limited to 'sys/arch/i386/include/cpu.h')
-rw-r--r-- | sys/arch/i386/include/cpu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/include/cpu.h b/sys/arch/i386/include/cpu.h index 9e7082860f6..10ce69a46ea 100644 --- a/sys/arch/i386/include/cpu.h +++ b/sys/arch/i386/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.76 2006/05/09 09:38:35 otto Exp $ */ +/* $OpenBSD: cpu.h,v 1.77 2006/05/19 19:43:41 dim Exp $ */ /* $NetBSD: cpu.h,v 1.35 1996/05/05 19:29:26 christos Exp $ */ /*- @@ -355,7 +355,7 @@ void i8254_initclocks(void); /* est.c */ #if !defined(SMALL_KERNEL) && defined(I686_CPU) -void est_init(const char *); +void est_init(const char *, int); int est_setperf(int); #endif |