Port the SB128 code to AROS.
[AROS.git] / rom / kernel / kernel_interrupts.h
blobe6d37f2f5e89a66ba1c35c8c367048cb1187dfd1
1 #include <inttypes.h>
3 /*
4 * Internal definitions. Needed only if you replace some related function.
5 */
6 struct IntrNode
8 struct MinNode in_Node;
9 void *in_Handler;
10 void *in_HandlerData;
11 void *in_HandlerData2;
12 uint8_t in_type;
13 uint8_t in_nr;
16 enum intr_types
18 it_exception = 0xe0,
19 it_interrupt = 0xf0
22 /* Functions to be called by machine-specific code */
23 int krnRunExceptionHandlers(uint8_t exception, void *ctx); /* Run user-supplied exception handlers */
24 void krnRunIRQHandlers(uint8_t exception); /* Run user-supplied IRQ handlers */