152a38012Sejakowatz /* 2*2ca13760SColdfirex ** Copyright 2004, The Haiku Team. All rights reserved. 3b6f76ebeSAugustin Cavalier ** Distributed under the terms of the MIT License. 452a38012Sejakowatz */ 5c17f45d1SAxel Dörfler #ifndef KERNEL_ARCH_TIMER_H 6c17f45d1SAxel Dörfler #define KERNEL_ARCH_TIMER_H 752a38012Sejakowatz 8c17f45d1SAxel Dörfler #include <SupportDefs.h> 9c17f45d1SAxel Dörfler 10c17f45d1SAxel Dörfler struct kernel_args; 11c17f45d1SAxel Dörfler 12c27ed74eSAxel Dörfler #ifdef __cplusplus 13c27ed74eSAxel Dörfler extern "C" { 14c27ed74eSAxel Dörfler #endif 1552a38012Sejakowatz 16c27ed74eSAxel Dörfler extern void arch_timer_set_hardware_timer(bigtime_t timeout); 17c27ed74eSAxel Dörfler extern void arch_timer_clear_hardware_timer(void); 18c27ed74eSAxel Dörfler extern int arch_init_timer(struct kernel_args *args); 19c27ed74eSAxel Dörfler 20c27ed74eSAxel Dörfler #ifdef __cplusplus 21c27ed74eSAxel Dörfler } 22c27ed74eSAxel Dörfler #endif 2352a38012Sejakowatz 24c17f45d1SAxel Dörfler #endif /* KERNEL_ARCH_TIMER_H */ 25