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

30 lines
558 B
C
Raw Normal View History

/*
2004-03-14 18:03:18 +00:00
** Copyright 2003-2004, 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
2004-03-14 18:03:18 +00:00
struct kernel_args;
/* kernel functions */
2004-03-14 18:03:18 +00:00
status_t timer_init(struct kernel_args *);
int32 timer_interrupt(void);
2002-07-09 12:24:59 +00:00
2004-03-14 18:03:18 +00:00
/* this one is only to be used by the scheduler */
status_t _local_timer_cancel_event(int currentCPU, 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 */