3.1.7 branch.
[minix.git] / kernel / clock.h
blob5a9c70868655b56ed6d0bc03749b7e7b512e0ec2
1 #ifndef __CLOCK_H__
2 #define __CLOCK_H__
4 #include "kernel.h"
5 #include "arch_clock.h"
7 _PROTOTYPE(int boot_cpu_init_timer, (unsigned freq));
9 _PROTOTYPE(int bsp_timer_int_handler, (void));
10 _PROTOTYPE(int ap_timer_int_handler, (void));
12 _PROTOTYPE(int arch_init_local_timer, (unsigned freq));
13 _PROTOTYPE(void arch_stop_local_timer, (void));
14 _PROTOTYPE(int arch_register_local_timer_handler, (irq_handler_t handler));
16 _PROTOTYPE( u64_t ms_2_cpu_time, (unsigned ms));
18 #endif /* __CLOCK_H__ */