summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc64/shared/include/traptable.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-08-26 18:04:51 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-08-26 18:04:51 +0000
commitad8b61431b0de66d3c66f2241e60727f135e1bca (patch)
tree141fb689fc5cbd190559bcd240d3b1b90fa23cf8 /c/src/lib/libbsp/sparc64/shared/include/traptable.h
parent2010-08-26 Chris Johns <chrisj@rtems.org> (diff)
downloadrtems-ad8b61431b0de66d3c66f2241e60727f135e1bca.tar.bz2
2010-08-26 Gedare Bloom <giddyup44@yahoo.com>
PR 1691/bsps * shared/include/traptable.h: Double the size of TABLE_SIZE to copy code branched to from the trap table.
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 339379cf0d..43f94336f9 100644
--- a/c/src/lib/libbsp/sparc64/shared/include/traptable.h
+++ b/c/src/lib/libbsp/sparc64/shared/include/traptable.h
@@ -13,7 +13,8 @@
/* This file can be included by assembly code */
#define ENTRY_SIZE (32)
-#define TABLE_SIZE (1024*ENTRY_SIZE)
+
+#define TABLE_SIZE (1024*ENTRY_SIZE * 2 /* HACK */ )
#ifndef ASM
extern void* trap_table[TABLE_SIZE];