summaryrefslogtreecommitdiffstats
path: root/sys/mips/include/hwfunc.h
diff options
context:
space:
mode:
authorrrs <rrs@FreeBSD.org>2009-10-30 08:53:11 +0000
committerrrs <rrs@FreeBSD.org>2009-10-30 08:53:11 +0000
commitdd29cc7161aa34b1e08d23aefd3810cf9dc17766 (patch)
tree47eeed612391ed51c6b78f067dc2448c577774d2 /sys/mips/include/hwfunc.h
parent31eaaf034e3434f0844b96d53fc577a268131ddc (diff)
downloadFreeBSD-src-dd29cc7161aa34b1e08d23aefd3810cf9dc17766.zip
FreeBSD-src-dd29cc7161aa34b1e08d23aefd3810cf9dc17766.tar.gz
With this commit our friend RMI will now compile. I have
not tested it and the chances of it running yet are about ZERO.. but it will now compile. The hard part now begins, making it run ;-)
Diffstat (limited to 'sys/mips/include/hwfunc.h')
-rw-r--r--sys/mips/include/hwfunc.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/mips/include/hwfunc.h b/sys/mips/include/hwfunc.h
index ef5088c..16b1439 100644
--- a/sys/mips/include/hwfunc.h
+++ b/sys/mips/include/hwfunc.h
@@ -29,7 +29,7 @@
#define _MACHINE_HWFUNC_H_
struct trapframe;
-
+struct timecounter;
/*
* Hooks downward into hardware functionality.
*/
@@ -39,4 +39,12 @@ void platform_intr(struct trapframe *);
void platform_reset(void);
void platform_start(__register_t, __register_t, __register_t, __register_t);
+/* For clocks and ticks and such */
+void platform_initclocks(void);
+uint64_t platform_get_frequency(void);
+unsigned platform_get_timecount(struct timecounter *);
+
+/* For hardware specific CPU initialization */
+void platform_cpu_init(void);
+void platform_secondary_init(void);
#endif /* !_MACHINE_HWFUNC_H_ */
OpenPOWER on IntegriCloud