haiku/headers/private/kernel/timer.h
Axel Dörfler 564cba312e Some header work: removed unnecessary dependencies to stage2.h, fixed
some broken C++ export definitions, added missing licenses etc.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 16:03:26 +00:00

29 lines
559 B
C
Executable File

/*
** Copyright 2003, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
** Distributed under the terms of the OpenBeOS License.
*/
#ifndef _KERNEL_TIMER_H
#define _KERNEL_TIMER_H
#include <KernelExport.h>
#ifdef __cplusplus
extern "C" {
#endif
/* 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
#endif /* _KERNEL_TIMER_H */