summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2003-12-24 00:25:43 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2003-12-24 00:25:43 +0000
commit15ce1d8b703048fc51e07e1c03f05be3d023630f (patch)
treeaaed9bc939117bb229dd7dfd0b12c1629b8057b2 /sys/arch/powerpc
parent845c86507975f46ffc453ac1a787634c2cf7f298 (diff)
support cpu_cpuspeed on macppc.
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r--sys/arch/powerpc/include/cpu.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/powerpc/include/cpu.h b/sys/arch/powerpc/include/cpu.h
index 6a716efe2e7..8764a885601 100644
--- a/sys/arch/powerpc/include/cpu.h
+++ b/sys/arch/powerpc/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.16 2003/07/08 21:46:19 drahn Exp $ */
+/* $OpenBSD: cpu.h,v 1.17 2003/12/24 00:25:42 drahn Exp $ */
/* $NetBSD: cpu.h,v 1.1 1996/09/30 16:34:21 ws Exp $ */
/*
@@ -219,4 +219,7 @@ ppc_intr_disable(void)
ppc_mtmsr(dmsr);
return (emsr & PSL_EE);
}
+
+int ppc_cpuspeed(void *oldp, size_t *oldlenp, void *newp, size_t newlen);
+
#endif /* _POWERPC_CPU_H_ */