summaryrefslogtreecommitdiffstats
path: root/bsps/sparc64/include/traptable.h
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/sparc64/include/traptable.h')
-rw-r--r--bsps/sparc64/include/traptable.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/bsps/sparc64/include/traptable.h b/bsps/sparc64/include/traptable.h
new file mode 100644
index 0000000000..353c60d79c
--- /dev/null
+++ b/bsps/sparc64/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.org/license/LICENSE.
+ */
+
+/* This file can be included by assembly code */
+
+#define ENTRY_SIZE (32)
+
+#define TABLE_SIZE (1024*ENTRY_SIZE)
+
+#ifndef ASM
+extern void* real_trap_table;
+extern void* trap_table[TABLE_SIZE];
+#endif
+