source: rtems/c/src/lib/libbsp/powerpc/helas403/include/bsp.h @ 76488aa

4.104.114.84.95
Last change on this file since 76488aa was 76488aa, checked in by Ralf Corsepius <ralf.corsepius@…>, on 04/23/04 at 02:25:58

2004-04-22 Ralf Corsepius <ralf_corsepius@…>

  • include/bsp.h: Split out tmtest27 support.
  • include/tm27.h: New.
  • Property mode set to 100644
File size: 2.7 KB
Line 
1/*  bsp.h
2 *
3 *  This include file contains all HELAS-403 board IO definitions.
4 *
5 *  Author:     Thomas Doerfler <td@imd.m.isar.de>
6 *              IMD Ingenieurbuero fuer Microcomputertechnik
7 *
8 *  COPYRIGHT (c) 1998 by IMD
9 *
10 *  Changes from IMD are covered by the original distributions terms.
11 *  This file has been derived from the papyrus BSP.
12 *
13 *  Author:     Andrew Bray <andy@i-cubed.co.uk>
14 *
15 *  COPYRIGHT (c) 1995 by i-cubed ltd.
16 *
17 *  To anyone who acknowledges that this file is provided "AS IS"
18 *  without any express or implied warranty:
19 *      permission to use, copy, modify, and distribute this file
20 *      for any purpose is hereby granted without fee, provided that
21 *      the above copyright notice and this notice appears in all
22 *      copies, and that the name of i-cubed limited not be used in
23 *      advertising or publicity pertaining to distribution of the
24 *      software without specific, written prior permission.
25 *      i-cubed limited makes no representations about the suitability
26 *      of this software for any purpose.
27 *
28 *  Derived from c/src/lib/libbsp/no_cpu/no_bsp/include/bsp.h
29 *
30 *  COPYRIGHT (c) 1989-1999.
31 *  On-Line Applications Research Corporation (OAR).
32 *
33 *  The license and distribution terms for this file may be
34 *  found in the file LICENSE in this distribution or at
35 *  http://www.rtems.com/license/LICENSE.
36 *
37 *  $Id$
38 */
39
40#ifndef __HELAS403_h
41#define __HELAS403_h
42
43#ifdef __cplusplus
44extern "C" {
45#endif
46
47#include <bspopts.h>
48
49/*
50 *  confdefs.h overrides for this BSP:
51 *   - number of termios serial ports (defaults to 1)
52 *   - Interrupt stack space is not minimum if defined.
53 */
54
55/* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
56#define CONFIGURE_INTERRUPT_STACK_MEMORY  (16 * 1024)
57
58#ifdef ASM
59/* Definition of where to store registers in alignment handler */
60#define ALIGN_REGS 0x0140
61
62#else
63#include <rtems.h>
64#include <rtems/console.h>
65#include <rtems/clockdrv.h>
66#include <rtems/console.h>
67#include <rtems/iosupp.h>
68
69/* Constants */
70
71#define RAM_START 0
72#define RAM_END   0x00800000
73
74/* miscellaneous stuff assumed to exist */
75
76extern rtems_configuration_table BSP_Configuration;     /* owned by BSP */
77extern rtems_cpu_table           Cpu_table;             /* owned by BSP */
78
79/*
80 *  Device Driver Table Entries
81 */
82
83/*
84 * NOTE: Use the standard Console driver entry
85 */
86
87/*
88 * NOTE: Use the standard Clock driver entry
89 */
90
91/* functions */
92
93rtems_isr_entry set_vector(                    /* returns old vector */
94  rtems_isr_entry     handler,                  /* isr routine        */
95  rtems_vector_number vector,                   /* vector number      */
96  int                 type                      /* RTEMS or RAW intr  */
97);
98#endif /* ASM */
99
100#ifdef __cplusplus
101}
102#endif
103
104#endif
105/* end of include file */
Note: See TracBrowser for help on using the repository browser.