OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [ColdFire_MCF51CN128_CodeWarrior/] [Sources/] [exceptions.h] - Blame information for rev 831

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 jeremybenn
/*
2
 * File: exceptions.h
3
 * Purpose: Generic exception handling for ColdFire processors
4
 *
5
 * Notes:
6
 */
7
 
8
#ifndef _MCF_EXCEPTIONS_H
9
#define _MCF_EXCEPTIONS_H
10
 
11
#ifdef __cplusplus
12
extern "C" {
13
#endif
14
 
15
/***********************************************************************/
16
/*
17
 * This is the handler for all exceptions which are not common to all
18
 * ColdFire Chips.
19
 *
20
 * Called by mcf_exception_handler
21
 *
22
 */
23
void derivative_interrupt(unsigned long vector);
24
 
25
/***********************************************************************/
26
/*
27
 * This is the exception handler for all  exceptions common to all
28
 * chips ColdFire.  Most exceptions do nothing, but some of the more
29
 * important ones are handled to some extent.
30
 *
31
 * Called by asm_exception_handler
32
 */
33
void mcf_exception_handler(void *framepointer);
34
 
35
 
36
/***********************************************************************/
37
/*
38
 * This is the assembly exception handler defined in the vector table.
39
 * This function is in assembler so that the frame pointer can be read
40
 * from the stack.
41
 * Note that the way to give the stack frame as argument to the c handler
42
 * depends on the used ABI (Register, Compact or Standard).
43
 *
44
 */
45
asm void asm_exception_handler(void);
46
 
47
#ifdef __cplusplus
48
}
49
#endif
50
 
51
#endif   /* _MCF_EXCEPTIONS_H */
52
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.