2004-03-15 00:08:25 +03:00
|
|
|
/*
|
|
|
|
** Copyright 2004, The OpenBeOS Team. All rights reserved.
|
2017-02-10 06:03:59 +03:00
|
|
|
** Distributed under the terms of the MIT License.
|
2002-07-09 16:24:59 +04:00
|
|
|
*/
|
2003-05-03 18:12:16 +04:00
|
|
|
#ifndef KERNEL_ARCH_TIMER_H
|
|
|
|
#define KERNEL_ARCH_TIMER_H
|
|
|
|
|
|
|
|
#include <SupportDefs.h>
|
|
|
|
|
|
|
|
struct kernel_args;
|
2002-07-09 16:24:59 +04:00
|
|
|
|
2004-03-15 00:08:25 +03:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2002-07-09 16:24:59 +04:00
|
|
|
|
2004-03-15 00:08:25 +03: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 16:24:59 +04:00
|
|
|
|
2003-05-03 18:12:16 +04:00
|
|
|
#endif /* KERNEL_ARCH_TIMER_H */
|