RTEMS  5.0.0
bsp.h
Go to the documentation of this file.
1 
9 /*
10  * This include file contains all Virtex4 board IO definitions.
11  */
12 
13 /*
14  * derived from helas403/include/bsp.h:
15  * Id: bsp.h,v 1.4 2001/06/18 17:01:48 joel Exp
16  * Author: Thomas Doerfler <td@imd.m.isar.de>
17  * IMD Ingenieurbuero fuer Microcomputertechnik
18  *
19  * COPYRIGHT (c) 1998 by IMD
20  *
21  * Changes from IMD are covered by the original distributions terms.
22  * This file has been derived from the papyrus BSP.
23  *
24  * Author: Andrew Bray <andy@i-cubed.co.uk>
25  *
26  * COPYRIGHT (c) 1995 by i-cubed ltd.
27  *
28  * To anyone who acknowledges that this file is provided "AS IS"
29  * without any express or implied warranty:
30  * permission to use, copy, modify, and distribute this file
31  * for any purpose is hereby granted without fee, provided that
32  * the above copyright notice and this notice appears in all
33  * copies, and that the name of i-cubed limited not be used in
34  * advertising or publicity pertaining to distribution of the
35  * software without specific, written prior permission.
36  * i-cubed limited makes no representations about the suitability
37  * of this software for any purpose.
38  *
39  * Derived from c/src/lib/libbsp/no_cpu/no_bsp/include/bsp.h
40  *
41  * COPYRIGHT (c) 1989-1999.
42  * On-Line Applications Research Corporation (OAR).
43  *
44  * The license and distribution terms for this file may be
45  * found in the file LICENSE in this distribution or at
46  * http://www.rtems.org/license/LICENSE.
47  *
48  */
49 
50 #ifndef LIBBSP_POWERPC_VIRTEX4_BSP_H
51 #define LIBBSP_POWERPC_VIRTEX4_BSP_H
52 
63 #include <bspopts.h>
64 
65 /*
66  * confdefs.h overrides for this BSP:
67  * - Interrupt stack space is not minimum if defined.
68  */
69 #define BSP_INTERRUPT_STACK_SIZE (16 * 1024)
70 
71 #ifdef ASM
72 /* Definition of where to store registers in alignment handler */
73 #define ALIGN_REGS 0x0140
74 
75 #else
76 #include <rtems.h>
77 
79 
80 #ifdef __cplusplus
81 extern "C" {
82 #endif
83 
84 void BSP_ask_for_reset(void);
85 
86 /*
87  * Prototypes for BSP methods shared across file boundaries
88  */
89 void zero_bss(void);
90 
91 #ifdef __cplusplus
92 }
93 #endif
94 
95 #endif /* ASM */
96 
99 #endif
DEFAULT_INITIAL_EXTENSION Support.