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

30 lines
537 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;
2008-04-22 15:29:22 +00:00
#define B_TIMER_ACQUIRE_THREAD_LOCK 0x8000
#define B_TIMER_FLAGS B_TIMER_ACQUIRE_THREAD_LOCK
/* 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
2002-07-20 23:06:32 +00:00
#ifdef __cplusplus
}
#endif
2002-07-09 12:24:59 +00:00
#endif /* _KERNEL_TIMER_H */