1 #include <aros/kernel.h>
2 #include <aros/libcall.h>
3 #include <proto/exec.h>
5 #include <kernel_base.h>
6 #include <kernel_cpu.h>
7 #include <kernel_debug.h>
8 #include <kernel_interrupts.h>
9 #include <kernel_objects.h>
11 /* We use own implementation of bug(), so we don't need aros/debug.h */
14 /*****************************************************************************
17 #include <proto/kernel.h>
19 AROS_LH1(void, KrnRemExceptionHandler
,
22 AROS_LHA(void *, handle
, A0
),
25 struct KernelBase
*, KernelBase
, 15, Kernel
)
28 Remove previously installed CPU exception handler
31 handle - an opaque handler returned by KrnAddExceptionHandler()
47 ******************************************************************************/
51 struct IntrNode
*h
= handle
;
53 if (h
&& (h
->in_type
== it_exception
))