Files
haiku-beta6/headers/private/kernel/timer.h
T

29 lines
559 B
C
Raw Normal View History

/*
** Copyright 2003, Axel Dörfler, [email protected]. All rights reserved.
** Distributed under the terms of the OpenBeOS License.
*/
2002-07-09 12:24:59 +00:00
#ifndef _KERNEL_TIMER_H
#define _KERNEL_TIMER_H
#include <KernelExport.h>
2002-07-09 12:24:59 +00:00
#ifdef __cplusplus
extern "C" {
#endif
2002-07-09 12:24:59 +00:00
/* kernel functions */
2002-07-09 12:24:59 +00:00
int timer_init(kernel_args *);
int timer_interrupt(void);
/* these two are only to be used by the scheduler */
int local_timer_cancel_event(timer *event);
int _local_timer_cancel_event(int curr_cpu, timer *event);
2002-07-20 23:06:32 +00:00
#ifdef __cplusplus
}
#endif
2002-07-09 12:24:59 +00:00
#endif /* _KERNEL_TIMER_H */