4.104.114.84.95
Last change
on this file since 3299388d was
2ea8df3,
checked in by Joel Sherrill <joel.sherrill@…>, on 10/27/99 at 16:27:34
|
Added CVS Ids and a basic header. More header cleanup needed.
|
-
Property mode set to
100644
|
File size:
948 bytes
|
Line | |
---|
1 | /*-------------------------------------*/ |
---|
2 | /* fltbl.h */ |
---|
3 | /* Last change : 3.11.94 */ |
---|
4 | /*-------------------------------------*/ |
---|
5 | /* |
---|
6 | * $Id$ |
---|
7 | */ |
---|
8 | |
---|
9 | #ifndef _FLTTBL_H_ |
---|
10 | #define _FLTTBL_H_ |
---|
11 | |
---|
12 | /* FaultTable Entry. |
---|
13 | */ |
---|
14 | typedef struct { |
---|
15 | void (* hndl)(void); /* Fault Handle */ |
---|
16 | unsigned int type; /* Fault Table Type */ |
---|
17 | } FaultTblEntry; |
---|
18 | /* Fault Handler Type. |
---|
19 | */ |
---|
20 | #define LOCAL_FH 0 |
---|
21 | #define SYSTEM_FH 0x10 |
---|
22 | |
---|
23 | #define LOCAL_FW 0 |
---|
24 | #define SYSTEM_FW 0x027F |
---|
25 | /* FaultTable Itself. |
---|
26 | */ |
---|
27 | extern FaultTblEntry faultTbl[]; |
---|
28 | /* To initialize fault handling. |
---|
29 | */ |
---|
30 | extern void faultTblInit(void); |
---|
31 | /* Fault handler. Invoked from low-level handler. |
---|
32 | */ |
---|
33 | extern void faultTblHandler(unsigned int * fp, |
---|
34 | unsigned int * faultBuffer); |
---|
35 | |
---|
36 | #endif |
---|
37 | /*-------------*/ |
---|
38 | /* End of file */ |
---|
39 | /*-------------*/ |
---|
40 | |
---|
Note: See
TracBrowser
for help on using the repository browser.