source: rtems/c/src/lib/libbsp/i960/rxgen960/startup/flttbl.h @ 8ac4213

4.104.114.84.95
Last change on this file since 8ac4213 was 702c5f5, checked in by Joel Sherrill <joel.sherrill@…>, on 10/27/99 at 15:29:18

The rxgen960 BSP and i960 RPM support was submitted by Mark Bronson
<mark@…> of RAMIX.

  • Property mode set to 100644
File size: 931 bytes
Line 
1/*-------------------------------------*/
2/* fltbl.h                             */
3/* Last change :  3.11.94              */
4/*-------------------------------------*/
5#ifndef _FLTTBL_H_
6#define _FLTTBL_H_
7
8  /* FaultTable Entry.   
9   */
10typedef struct  {
11  void (* hndl)(void);                           /* Fault Handle */
12  unsigned int type;                             /* Fault Table Type */
13} FaultTblEntry;
14  /* Fault Handler Type.
15   */
16#define LOCAL_FH        0
17#define SYSTEM_FH       0x10
18
19#define LOCAL_FW        0
20#define SYSTEM_FW       0x027F   
21  /* FaultTable Itself.
22   */
23extern FaultTblEntry faultTbl[];
24  /* To initialize fault handling.
25   */
26extern void faultTblInit(void);   
27  /* Fault handler. Invoked from low-level handler.
28   */
29extern void faultTblHandler(unsigned int * fp,
30                            unsigned int * faultBuffer);
31                           
32#endif   
33/*-------------*/
34/* End of file */
35/*-------------*/
36
Note: See TracBrowser for help on using the repository browser.