summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc64/shared/include/traptable.h
blob: 282c47670bd5dfde956ba883356415b9aa48fb5f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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.com/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