Patch by Dustin Howett which 'modularizes' timers. The best timer is

automatically selected at boot time. Pit and Apic timers are implemented
for now. Thanks Dustin!



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26265 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini
2008-07-05 20:40:06 +00:00
parent 34ff70da4f
commit 6e29a04d36
12 changed files with 509 additions and 146 deletions
+5 -3
View File
@@ -2,10 +2,12 @@
** Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
** Distributed under the terms of the NewOS License.
*/
#ifndef _NEWOS_KERNEL_ARCH_I386_TIMER
#define _NEWOS_KERNEL_ARCH_I386_TIMER
#ifndef _KERNEL_ARCH_X86_TIMER
#define _KERNEL_ARCH_X86_TIMER
int apic_timer_interrupt(void);
#define ISA_TIMER_MODULE_NAME "timers/x86/isa/v1"
#define APIC_TIMER_MODULE_NAME "timers/x86/apic/v1"
#define HPET_TIMER_MODULE_NAME "timers/x86/hpet/v1"
#endif