2 copyright © 1995-2010, the aros development team. all rights reserved.
8 #ifndef M68K_EXCEPTION_H
9 #define M68K_EXCEPTION_H
11 #include <aros/kernel.h>
12 #include <exec/execbase.h>
14 #include <kernel_cpu.h>
16 /* Here's how it's all laid out:
19 * 1 Reset: Initial PC (NOTE: Really is SysBase!)
22 * 4 Illegal Instruction
26 * 8 Privileged Instruction
28 * 10 Line 1010 Emulator
29 * 11 Line 1111 Emulator
33 * 15 Uninitilaized Interrupt Vector
37 * 24 Spurious Interrupt
38 * 25 Level 1 Interrupt
39 * 26 Level 2 Interrupt
40 * 27 Level 3 Interrupt
41 * 28 Level 4 Interrupt
42 * 29 Level 5 Interrupt
43 * 30 Level 6 Interrupt
44 * 31 Level 7 Interrupt
55 struct M68KException
{
57 /* tc_TrapCode style handler - MUST PRESERVE ALL REGISTERS! */
58 void (*Handler
)(ULONG id
);
61 void M68KExceptionInit(const struct M68KException
*Table
, struct ExecBase
*SysBase
);
63 #endif /* M68K_EXCEPTION_H */