2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
8 #include <aros/kernel.h>
9 #include <aros/libcall.h>
10 #include <proto/exec.h>
12 #include <kernel_base.h>
13 #include <kernel_cpu.h>
14 #include <kernel_debug.h>
15 #include <kernel_interrupts.h>
16 #include <kernel_objects.h>
18 /* We use own implementation of bug(), so we don't need aros/debug.h */
21 /*****************************************************************************
24 #include <proto/kernel.h>
26 AROS_LH3(void, KrnModifyIRQHandler
,
29 AROS_LHA(void *, handle
, A0
),
30 AROS_LHA(void *, handlerData
, A1
),
31 AROS_LHA(void *, handlerData2
, A2
),
34 struct KernelBase
*, KernelBase
, 38, Kernel
)
37 Modify the data passed to a raw hardware IRQ handler.
40 handle - Existing handle
42 handlerData2 - User-defined data which is passed to the
54 KrnAddIRQHandler(), KrnRemIRQHandler()
58 ******************************************************************************/
62 struct IntrNode
*intrhandle
= (struct IntrNode
*)handle
;
64 D(bug("[KRN] KrnModifyIRQHandler(%012p, %012p, %012p):\n", handle
, handlerData
, handlerData2
));
70 intrhandle
->in_HandlerData
= handlerData
;
71 intrhandle
->in_HandlerData2
= handlerData2
;