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

38 lines
668 B
C
Raw Normal View History

2002-07-09 12:24:59 +00:00
#ifndef _KERNEL_TIMER_H
#define _KERNEL_TIMER_H
/**
* @file kernel/timer.h
* @brief Timer structures and definitions
*/
2002-07-09 12:24:59 +00:00
#include <stage2.h>
#include <KernelExport.h>
2002-07-09 12:24:59 +00:00
/**
* @defgroup Timer Timer structures (not architecture specific)
* @ingroup OpenBeOS_Kernel
* @{
*/
2002-07-09 12:24:59 +00:00
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
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 /* __cplusplus */
/** @} */
2002-07-09 12:24:59 +00:00
#endif /* _KERNEL_TIMER_H */
2002-07-09 12:24:59 +00:00