2004-03-14 21:08:25 +00:00
|
|
|
/*
|
|
|
|
** Copyright 2004, The OpenBeOS Team. All rights reserved.
|
|
|
|
** Distributed under the terms of the OpenBeOS License.
|
2002-07-09 12:24:59 +00:00
|
|
|
*/
|
2003-05-03 14:12:16 +00:00
|
|
|
#ifndef KERNEL_ARCH_TIMER_H
|
|
|
|
#define KERNEL_ARCH_TIMER_H
|
|
|
|
|
|
|
|
#include <SupportDefs.h>
|
|
|
|
|
|
|
|
struct kernel_args;
|
2002-07-09 12:24:59 +00:00
|
|
|
|
2004-03-14 21:08:25 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2002-07-09 12:24:59 +00:00
|
|
|
|
2004-03-14 21:08:25 +00:00
|
|
|
extern void arch_timer_set_hardware_timer(bigtime_t timeout);
|
|
|
|
extern void arch_timer_clear_hardware_timer(void);
|
|
|
|
extern int arch_init_timer(struct kernel_args *args);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
2002-07-09 12:24:59 +00:00
|
|
|
|
2003-05-03 14:12:16 +00:00
|
|
|
#endif /* KERNEL_ARCH_TIMER_H */
|