3 * Purpose: Generic exception handling for ColdFire processors
\r
8 #ifndef _MCF_EXCEPTIONS_H
\r
9 #define _MCF_EXCEPTIONS_H
\r
15 /***********************************************************************/
\r
17 * This is the handler for all exceptions which are not common to all
\r
20 * Called by mcf_exception_handler
\r
23 void derivative_interrupt(unsigned long vector);
\r
25 /***********************************************************************/
\r
27 * This is the exception handler for all exceptions common to all
\r
28 * chips ColdFire. Most exceptions do nothing, but some of the more
\r
29 * important ones are handled to some extent.
\r
31 * Called by asm_exception_handler
\r
33 void mcf_exception_handler(void *framepointer);
\r
36 /***********************************************************************/
\r
38 * This is the assembly exception handler defined in the vector table.
\r
39 * This function is in assembler so that the frame pointer can be read
\r
41 * Note that the way to give the stack frame as argument to the c handler
\r
42 * depends on the used ABI (Register, Compact or Standard).
\r
45 asm void asm_exception_handler(void);
\r
51 #endif /* _MCF_EXCEPTIONS_H */
\r