source: rtems/c/src/lib/libbsp/powerpc/virtex4/include/bsp.h @ bea9a25

5
Last change on this file since bea9a25 was bea9a25, checked in by Joel Sherrill <joel@…>, on 03/30/16 at 19:04:23

powerpc/virtex4/include/bsp.h: Do not include <rtems/iosupp.h>

  • Property mode set to 100644
File size: 2.3 KB
Line 
1/*
2 *  This include file contains all Virtex4 board IO definitions.
3 */
4
5/*
6 * derived from helas403/include/bsp.h:
7 *  Id: bsp.h,v 1.4 2001/06/18 17:01:48 joel Exp
8 *  Author:     Thomas Doerfler <td@imd.m.isar.de>
9 *              IMD Ingenieurbuero fuer Microcomputertechnik
10 *
11 *  COPYRIGHT (c) 1998 by IMD
12 *
13 *  Changes from IMD are covered by the original distributions terms.
14 *  This file has been derived from the papyrus BSP.
15 *
16 *  Author:     Andrew Bray <andy@i-cubed.co.uk>
17 *
18 *  COPYRIGHT (c) 1995 by i-cubed ltd.
19 *
20 *  To anyone who acknowledges that this file is provided "AS IS"
21 *  without any express or implied warranty:
22 *      permission to use, copy, modify, and distribute this file
23 *      for any purpose is hereby granted without fee, provided that
24 *      the above copyright notice and this notice appears in all
25 *      copies, and that the name of i-cubed limited not be used in
26 *      advertising or publicity pertaining to distribution of the
27 *      software without specific, written prior permission.
28 *      i-cubed limited makes no representations about the suitability
29 *      of this software for any purpose.
30 *
31 *  Derived from c/src/lib/libbsp/no_cpu/no_bsp/include/bsp.h
32 *
33 *  COPYRIGHT (c) 1989-1999.
34 *  On-Line Applications Research Corporation (OAR).
35 *
36 *  The license and distribution terms for this file may be
37 *  found in the file LICENSE in this distribution or at
38 *  http://www.rtems.org/license/LICENSE.
39 *
40 */
41
42#ifndef LIBBSP_POWERPC_VIRTEX4_BSP_H
43#define LIBBSP_POWERPC_VIRTEX4_BSP_H
44
45#include <bspopts.h>
46
47/*
48 *  confdefs.h overrides for this BSP:
49 *   - Interrupt stack space is not minimum if defined.
50 */
51#define CONFIGURE_INTERRUPT_STACK_MEMORY  (16 * 1024)
52
53#ifdef ASM
54/* Definition of where to store registers in alignment handler */
55#define ALIGN_REGS 0x0140
56
57#else
58#include <rtems.h>
59
60#include <bsp/default-initial-extension.h>
61
62#ifdef __cplusplus
63extern "C" {
64#endif
65
66/* miscellaneous stuff assumed to exist */
67extern bool bsp_timer_internal_clock;   /* TRUE, when timer runs with CPU clk */
68
69extern rtems_configuration_table BSP_Configuration;     /* owned by BSP */
70#endif /* ASM */
71
72void BSP_ask_for_reset(void);
73void BSP_panic(char *s);
74void _BSP_Fatal_error(unsigned int v);
75
76/*
77 * Prototypes for BSP methods shared across file boundaries
78 */
79void zero_bss(void);
80
81#ifdef __cplusplus
82}
83#endif
84
85#endif
Note: See TracBrowser for help on using the repository browser.