adopt previous changes. (NicJA)
[AROS.git] / rom / kernel / kernel_interrupts.h
blob16055fac47ee3e39f72bd540a3628b59d8e31f7f
1 #ifndef KERNEL_INTERRUPTS_H
2 #define KERNEL_INTERRUPTS_H
3 /*
4 Copyright © 1995-2017, The AROS Development Team. All rights reserved.
5 $Id$
7 Desc:
8 */
10 #include <inttypes.h>
13 * Internal definitions. Needed only if you replace some related function.
15 struct IntrNode
17 struct MinNode in_Node;
18 void *in_Handler;
19 void *in_HandlerData;
20 void *in_HandlerData2;
21 uint32_t in_nr;
22 uint8_t in_type;
25 enum intr_types
27 it_exception = 0xe0,
28 it_interrupt = 0xf0
31 /* Functions to be called by machine-specific code */
32 int krnRunExceptionHandlers(struct KernelBase *, uint8_t, void *); /* Run user-supplied exception handlers */
33 void krnRunIRQHandlers(struct KernelBase *, uint8_t); /* Run user-supplied IRQ handlers */
35 #endif /* !KERNEL_INTERRUPTS_H */