summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc64/shared/include/traptable.h
blob: 353c60d79ceb82f8f9800cb6480d80a09ace3f45 (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.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