diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-10-27 15:29:18 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-10-27 15:29:18 +0000 |
commit | 702c5f5b42e975c35a94f1ae3d39a77815f36f70 (patch) | |
tree | 46a9caa5230280f7c51530aeeff50355f893083c /c/src/lib/libbsp/i960/rxgen960/startup/flttbl.h | |
parent | First attempt at icluding Eric Valette and Emmanuel Raguet. (diff) | |
download | rtems-702c5f5b42e975c35a94f1ae3d39a77815f36f70.tar.bz2 |
The rxgen960 BSP and i960 RPM support was submitted by Mark Bronson
<mark@ramix.com> of RAMIX.
Diffstat (limited to 'c/src/lib/libbsp/i960/rxgen960/startup/flttbl.h')
-rw-r--r-- | c/src/lib/libbsp/i960/rxgen960/startup/flttbl.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/i960/rxgen960/startup/flttbl.h b/c/src/lib/libbsp/i960/rxgen960/startup/flttbl.h new file mode 100644 index 0000000000..2111ddb255 --- /dev/null +++ b/c/src/lib/libbsp/i960/rxgen960/startup/flttbl.h @@ -0,0 +1,36 @@ +/*-------------------------------------*/ +/* fltbl.h */ +/* Last change : 3.11.94 */ +/*-------------------------------------*/ +#ifndef _FLTTBL_H_ +#define _FLTTBL_H_ + + /* FaultTable Entry. + */ +typedef struct { + void (* hndl)(void); /* Fault Handle */ + unsigned int type; /* Fault Table Type */ +} FaultTblEntry; + /* Fault Handler Type. + */ +#define LOCAL_FH 0 +#define SYSTEM_FH 0x10 + +#define LOCAL_FW 0 +#define SYSTEM_FW 0x027F + /* FaultTable Itself. + */ +extern FaultTblEntry faultTbl[]; + /* To initialize fault handling. + */ +extern void faultTblInit(void); + /* Fault handler. Invoked from low-level handler. + */ +extern void faultTblHandler(unsigned int * fp, + unsigned int * faultBuffer); + +#endif +/*-------------*/ +/* End of file */ +/*-------------*/ + |