summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/i960/rxgen960/startup/intrtbl.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-27 15:29:18 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-27 15:29:18 +0000
commit702c5f5b42e975c35a94f1ae3d39a77815f36f70 (patch)
tree46a9caa5230280f7c51530aeeff50355f893083c /c/src/lib/libbsp/i960/rxgen960/startup/intrtbl.h
parentFirst attempt at icluding Eric Valette and Emmanuel Raguet. (diff)
downloadrtems-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/intrtbl.h')
-rw-r--r--c/src/lib/libbsp/i960/rxgen960/startup/intrtbl.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/i960/rxgen960/startup/intrtbl.h b/c/src/lib/libbsp/i960/rxgen960/startup/intrtbl.h
new file mode 100644
index 0000000000..944d11960e
--- /dev/null
+++ b/c/src/lib/libbsp/i960/rxgen960/startup/intrtbl.h
@@ -0,0 +1,30 @@
+/*-------------------------------------*/
+/* intrtbl.h */
+/* Last change : 12.10.94 */
+/*-------------------------------------*/
+#ifndef _INTRTBL_H_
+#define _INTRTBL_H_
+
+ /* Interrupt Handler.
+ */
+typedef void (* IntrHndl)(void);
+ /* Interrupt Table.
+ */
+typedef struct {
+ unsigned int pendPrty; /* Pending Priorities */
+ unsigned int pendIntr[8]; /* Pending Interrupts */
+ IntrHndl intrHndl[248]; /* Interrupt Handlers */
+} InterruptTbl;
+ /* Interrupt Handler Type.
+ */
+#define NORMAL_IH 0
+#define IN_CACHE_IH 0x10
+ /* Interrupt Table Itself.
+ */
+extern InterruptTbl interruptTbl;
+
+#endif
+/*-------------*/
+/* End of file */
+/*-------------*/
+