Cancel redefinition of DOSBase for the 'cdrom' test utility. Now the
[AROS.git] / rom / kernel / kernel_interrupts.h
blob9039be062fd57117e08da74f084ba091e5637322
1 /*
2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 */
8 #include <inttypes.h>
11 * Internal definitions. Needed only if you replace some related function.
13 struct IntrNode
15 struct MinNode in_Node;
16 void *in_Handler;
17 void *in_HandlerData;
18 void *in_HandlerData2;
19 uint8_t in_type;
20 uint8_t in_nr;
23 enum intr_types
25 it_exception = 0xe0,
26 it_interrupt = 0xf0
29 /* Functions to be called by machine-specific code */
30 int krnRunExceptionHandlers(struct KernelBase *KernelBase, uint8_t exception, void *ctx); /* Run user-supplied exception handlers */
31 void krnRunIRQHandlers(struct KernelBase *KernelBase, uint8_t exception); /* Run user-supplied IRQ handlers */