1 /* 2 ** Copyright 2003-2004, 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 struct kernel_args; 17 18 /* kernel functions */ 19 status_t timer_init(struct kernel_args *); 20 int32 timer_interrupt(void); 21 22 /* this one is only to be used by the scheduler */ 23 status_t _local_timer_cancel_event(int currentCPU, timer *event); 24 25 #ifdef __cplusplus 26 } 27 #endif 28 29 #endif /* _KERNEL_TIMER_H */ 30