diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2005-10-28 07:03:42 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2005-10-28 07:03:42 +0000 |
commit | d42fc8ad09f099e6ef849a99eb522a0dd2f44938 (patch) | |
tree | 3278e0b05829e86c8508bf651b99a1a76c1fe243 /sys/arch/i386/include | |
parent | c07b3df802c25f129d2b3406e08ee55466b2bfd0 (diff) |
update support for powernow (cool and quiet) on k7, and add support
for k8. preliminary and not well tested yet. from freebsd via
gordon klok.
Diffstat (limited to 'sys/arch/i386/include')
-rw-r--r-- | sys/arch/i386/include/cpu.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/sys/arch/i386/include/cpu.h b/sys/arch/i386/include/cpu.h index 6b963f4dbeb..46080abc651 100644 --- a/sys/arch/i386/include/cpu.h +++ b/sys/arch/i386/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.71 2005/09/25 20:48:23 miod Exp $ */ +/* $OpenBSD: cpu.h,v 1.72 2005/10/28 07:03:41 tedu Exp $ */ /* $NetBSD: cpu.h,v 1.35 1996/05/05 19:29:26 christos Exp $ */ /*- @@ -369,11 +369,17 @@ void p4tcc_init(int, int); int p4tcc_setperf(int); #endif +#if !defined(SMALL_KERNEL) && defined(I686_CPU) +/* powernow.c */ void k6_powernow_init(void); int k6_powernow_setperf(int); -void k7_powernow_init(uint32_t); +/* powernow-k7.c */ +void k7_powernow_init(void); int k7_powernow_setperf(int); - +/* powernow-k8.c */ +void k8_powernow_init(void); +int k8_powernow_setperf(int); +#endif /* npx.c */ void npxdrop(struct proc *); |