summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include/clock.h
diff options
context:
space:
mode:
authorbenno <benno@FreeBSD.org>2001-06-16 07:14:07 +0000
committerbenno <benno@FreeBSD.org>2001-06-16 07:14:07 +0000
commitf371c393d1d9d52936226995942133699ae0c05a (patch)
treecf1bec5626b59af2b2af824ef859e3c5bba5f25f /sys/powerpc/include/clock.h
parent99efa6b196d6054b9e66ecbca2ce6523e8df5f54 (diff)
downloadFreeBSD-src-f371c393d1d9d52936226995942133699ae0c05a.zip
FreeBSD-src-f371c393d1d9d52936226995942133699ae0c05a.tar.gz
This commit (along with one pending in sys/dev/ofw and one in sys/conf) give
us our first minimal glimpse of PowerPC support. With this code we can get to the "mountroot>" prompt on my Apple iMac. We can't get any further due to lack of clock and interrupt handling, among other things. This does however mean that pmap and VM are initialising. We're fairly dependant on OpenFirmware at this point, but I hope to add support for other classes of firmware at a later stage. Reviewed by: obrien, dfr
Diffstat (limited to 'sys/powerpc/include/clock.h')
-rw-r--r--sys/powerpc/include/clock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/powerpc/include/clock.h b/sys/powerpc/include/clock.h
index 9e4ad71..a7e6263 100644
--- a/sys/powerpc/include/clock.h
+++ b/sys/powerpc/include/clock.h
@@ -19,6 +19,8 @@ int sysbeep __P((int pitch, int period));
int acquire_timer2 __P((int mode));
int release_timer2 __P((void));
+void decr_intr(struct clockframe *);
+
#endif
#endif /* !_MACHINE_CLOCK_H_ */
OpenPOWER on IntegriCloud