summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc64/shared/include/traptable.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/sparc64/shared/include/traptable.h')
-rw-r--r--c/src/lib/libbsp/sparc64/shared/include/traptable.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/sparc64/shared/include/traptable.h b/c/src/lib/libbsp/sparc64/shared/include/traptable.h
new file mode 100644
index 0000000000..339379cf0d
--- /dev/null
+++ b/c/src/lib/libbsp/sparc64/shared/include/traptable.h
@@ -0,0 +1,21 @@
+/*
+ * traptable.h
+ *
+ * Copyright 2010 Gedare Bloom
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.com/license/LICENSE.
+ *
+ * $Id$
+ */
+
+/* This file can be included by assembly code */
+
+#define ENTRY_SIZE (32)
+#define TABLE_SIZE (1024*ENTRY_SIZE)
+
+#ifndef ASM
+extern void* trap_table[TABLE_SIZE];
+#endif
+