btrfs: Attempt to fix GCC2 build.
[haiku.git] / src / system / kernel / arch / m68k / arch_timer.cpp
blobe450727883a0240ba9c3bd7fa1521a7dd39abc4c
1 /*
2 * Copyright 2007, Haiku Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * François Revol <revol@free.fr>
8 * Copyright 2001, Travis Geiselbrecht. All rights reserved.
9 * Distributed under the terms of the NewOS License.
13 #include <boot/stage2.h>
14 #include <kernel.h>
15 #include <debug.h>
17 #include <timer.h>
18 #include <arch/timer.h>
19 #include <arch_platform.h>
22 void
23 arch_timer_set_hardware_timer(bigtime_t timeout)
25 M68KPlatform::Default()->SetHardwareTimer(timeout);
29 void
30 arch_timer_clear_hardware_timer()
32 M68KPlatform::Default()->ClearHardwareTimer();
36 int
37 arch_init_timer(kernel_args *args)
39 return M68KPlatform::Default()->InitTimer(args);