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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user