summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2004-02-14 15:09:23 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2004-02-14 15:09:23 +0000
commitada8886100a78040c259db734cf7818b49c81fdc (patch)
treefd6c08ced5d0defd52f55f0689aca67fb6fc5c8a /sys/arch/i386/include
parent64cb8174cb06ff3dc1a2b319a1dbc1fa94832a87 (diff)
Simplify hw.{cpuspeed,setperf} api moving all the sysctl stuff
from the underlying callbacks. Testing hppa mickey@, ppc drahn@ Ok markus@ tedu@
Diffstat (limited to 'sys/arch/i386/include')
-rw-r--r--sys/arch/i386/include/cpu.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/i386/include/cpu.h b/sys/arch/i386/include/cpu.h
index ef70e5f86fc..13b9e47a513 100644
--- a/sys/arch/i386/include/cpu.h
+++ b/sys/arch/i386/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.57 2004/02/01 19:05:23 deraadt Exp $ */
+/* $OpenBSD: cpu.h,v 1.58 2004/02/14 15:09:22 grange Exp $ */
/* $NetBSD: cpu.h,v 1.35 1996/05/05 19:29:26 christos Exp $ */
/*-
@@ -191,21 +191,21 @@ void rtcdrain(void *);
/* est.c */
#if !defined(SMALL_KERNEL) && defined(I686_CPU)
void est_init(const char *);
-int est_cpuspeed(void *, size_t *, void *, size_t);
-int est_setperf(void *, size_t *, void *, size_t);
+int est_cpuspeed(int *);
+int est_setperf(int);
#endif
/* longrun.c */
#if !defined(SMALL_KERNEL) && defined(I586_CPU)
void longrun_init(void);
-int longrun_cpuspeed(void *, size_t *, void *, size_t);
-int longrun_setperf(void *, size_t *, void *, size_t);
+int longrun_cpuspeed(int *);
+int longrun_setperf(int);
#endif
/* p4tcc.c */
#if !defined(SMALL_KERNEL) && defined(I686_CPU)
void p4tcc_init(int, int);
-int p4tcc_setperf(void *, size_t *, void *, size_t);
+int p4tcc_setperf(int);
#endif
/* npx.c */