2 Copyright © 2013-2015, The AROS Development Team. All rights reserved.
6 #include <aros/kernel.h>
7 #include <aros/libcall.h>
8 #include <hardware/intbits.h>
9 #include <proto/exec.h>
11 #include <kernel_base.h>
12 #include <kernel_cpu.h>
13 #include <kernel_debug.h>
14 #include <kernel_interrupts.h>
15 #include <kernel_intr.h>
16 #include <kernel_objects.h>
18 #include "kernel_intern.h"
20 /* We use own implementation of bug(), so we don't need aros/debug.h */
24 void *KrnAddSysTimerHandler(struct KernelBase
*KernelBase
)
26 struct IntrNode
*SysTimerHandle
= NULL
;
28 D(bug("[Kernel] KrnAddSysTimerHandler(%012p)\n", KernelBase
));
30 if (__arm_arosintern
.ARMI_InitTimer
)
31 SysTimerHandle
= __arm_arosintern
.ARMI_InitTimer(KernelBase
);
33 D(bug("[Kernel] KrnAddSysTimerHandler: returning handle @ 0x%p \n", SysTimerHandle
));
35 return SysTimerHandle
;