From ad8b61431b0de66d3c66f2241e60727f135e1bca Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 26 Aug 2010 18:04:51 +0000 Subject: 2010-08-26 Gedare Bloom PR 1691/bsps * shared/include/traptable.h: Double the size of TABLE_SIZE to copy code branched to from the trap table. --- c/src/lib/libbsp/sparc64/shared/include/traptable.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'c/src/lib/libbsp/sparc64/shared/include/traptable.h') 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]; -- cgit v1.2.3