haiku/headers/private/kernel/timer.h
lillo 5cdacbaabb *LOTS* of small changes to make the kernel compatible with Be's KernelExport.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 16:13:36 +00:00

38 lines
668 B
C
Executable File

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