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 /* Here's how it's all laid out:
17 * 1 Reset: Initial PC (NOTE: Really is SysBase!)
20 * 4 Illegal Instruction
24 * 8 Privileged Instruction
26 * 10 Line 1010 Emulator
27 * 11 Line 1111 Emulator
31 * 15 Uninitilaized Interrupt Vector
35 * 24 Spurious Interrupt
36 * 25 Level 1 Interrupt
37 * 26 Level 2 Interrupt
38 * 27 Level 3 Interrupt
39 * 28 Level 4 Interrupt
40 * 29 Level 5 Interrupt
41 * 30 Level 6 Interrupt
42 * 31 Level 7 Interrupt
53 struct M68KException
{
55 void (*Handler
)(int id
, UWORD SRReg
, struct ExecBase
*SysBase
);
58 void M68KExceptionInit(const struct M68KException
*Table
, struct ExecBase
*SysBase
);
60 #endif /* M68K_EXCEPTION_H */