2 Copyright © 1995-2011, The AROS Development Team. All rights reserved.
5 Desc: Remove an interrupt handler.
9 #include <exec/execbase.h>
10 #include <exec/interrupts.h>
11 #include <hardware/intbits.h>
12 #include <proto/exec.h>
13 #include <proto/kernel.h>
14 #include <aros/libcall.h>
16 #include "exec_debug.h"
17 #include "exec_intern.h"
20 /*****************************************************************************
24 AROS_LH2(void, RemIntServer
,
27 AROS_LHA(ULONG
, intNumber
, D0
),
28 AROS_LHA(struct Interrupt
*, interrupt
, A1
),
31 struct ExecBase
*, SysBase
, 29, Exec
)
49 ******************************************************************************/
53 ExecLog(SysBase
, EXECDEBUGF_EXCEPTHANDLER
, "RemIntServer: Int %d, Interrupt %p\n", intNumber
, interrupt
);
55 if (intNumber
>= INTB_KERNEL
) {
56 KrnRemIRQHandler(interrupt
->is_Node
.ln_Succ
);
62 Remove((struct Node
*)interrupt
);
63 CUSTOM_DISABLE(intNumber
, SysBase
->IntVects
[intNumber
].iv_Data
);