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_intern.h"
19 /*****************************************************************************
23 AROS_LH2(void, RemIntServer
,
26 AROS_LHA(ULONG
, intNumber
, D0
),
27 AROS_LHA(struct Interrupt
*, interrupt
, A1
),
30 struct ExecBase
*, SysBase
, 29, Exec
)
48 ******************************************************************************/
52 if (intNumber
>= INTB_KERNEL
) {
53 KrnRemIRQHandler(interrupt
->is_Node
.ln_Succ
);
59 Remove((struct Node
*)interrupt
);
60 CUSTOM_DISABLE(intNumber
, SysBase
->IntVects
[intNumber
].iv_Data
);