summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc64/shared/include/traptable.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-11-16 23:20:08 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-11-16 23:20:08 +0000
commit722c0fdfdf9f01ba03a08b16dcde11ec6f70c15c (patch)
treee86b4f8011f74f40413bd7ce541ba6ef5b5fb759 /c/src/lib/libbsp/sparc64/shared/include/traptable.h
parent2010-11-15 Gedare Bloom <giddyup44@yahoo.com> (diff)
downloadrtems-722c0fdfdf9f01ba03a08b16dcde11ec6f70c15c.tar.bz2
2010-11-15 Gedare Bloom <giddyup44@yahoo.com>
PR 1691/bsps * shared/include/traptable.h, shared/start/trap_table.S, shared/startup/linkcmds: Create a dummy trap table that jumps to the firmware trap table for default trap handlers.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/sparc64/shared/include/traptable.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/sparc64/shared/include/traptable.h b/c/src/lib/libbsp/sparc64/shared/include/traptable.h
index 43f94336f9..bf353dc22e 100644
--- a/c/src/lib/libbsp/sparc64/shared/include/traptable.h
+++ b/c/src/lib/libbsp/sparc64/shared/include/traptable.h
@@ -14,9 +14,10 @@
#define ENTRY_SIZE (32)
-#define TABLE_SIZE (1024*ENTRY_SIZE * 2 /* HACK */ )
+#define TABLE_SIZE (1024*ENTRY_SIZE)
#ifndef ASM
+extern void* real_trap_table;
extern void* trap_table[TABLE_SIZE];
#endif