diff options
Diffstat (limited to 'include/traptable.h')
-rw-r--r-- | include/traptable.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/traptable.h b/include/traptable.h new file mode 100644 index 0000000000..353c60d79c --- /dev/null +++ b/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 + |