1 /* 2 ** Copyright 2003, Axel Dörfler, axeld@pinc-software.de. All rights reserved. 3 ** Distributed under the terms of the OpenBeOS License. 4 */ 5 #ifndef _KERNEL_TIMER_H 6 #define _KERNEL_TIMER_H 7 8 9 #include <KernelExport.h> 10 11 12 #ifdef __cplusplus 13 extern "C" { 14 #endif 15 16 /* kernel functions */ 17 int timer_init(kernel_args *); 18 int timer_interrupt(void); 19 20 /* these two are only to be used by the scheduler */ 21 int local_timer_cancel_event(timer *event); 22 int _local_timer_cancel_event(int curr_cpu, timer *event); 23 24 #ifdef __cplusplus 25 } 26 #endif 27 28 #endif /* _KERNEL_TIMER_H */ 29