source: rtems/c/src/lib/libbsp/no_cpu/no_bsp/include/bsp.h @ 34c4852

4.104.114.84.95
Last change on this file since 34c4852 was 34c4852, checked in by Ralf Corsepius <ralf.corsepius@…>, on 05/26/05 at 05:36:48

2005-05-26 Ralf Corsepius <ralf.corsepius@…>

  • include/bsp.h: New header guard.
  • Property mode set to 100644
File size: 1.7 KB
Line 
1/*  bsp.h
2 *
3 *  This include file contains all board IO definitions.
4 *
5 *  XXX : put yours in here
6 *
7 *  COPYRIGHT (c) 1989-1999.
8 *  On-Line Applications Research Corporation (OAR).
9 *
10 *  The license and distribution terms for this file may be
11 *  found in the file LICENSE in this distribution or at
12 *  http://www.rtems.com/license/LICENSE.
13 *
14 *  $Id$
15 */
16
17#ifndef _BSP_H
18#define _BSP_H
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
24#include <bspopts.h>
25
26#include <rtems.h>
27#include <rtems/console.h>
28#include <rtems/clockdrv.h>
29
30/*
31 *  confdefs.h overrides for this BSP:
32 *   - number of termios serial ports (defaults to 1)
33 *   - Interrupt stack space is not minimum if defined.
34 */
35
36/* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
37#define CONFIGURE_INTERRUPT_STACK_MEMORY  (4 * 1024)
38
39/*
40 *  Simple spin delay in microsecond units for device drivers.
41 *  This is very dependent on the clock speed of the target.
42 */
43
44#define rtems_bsp_delay( microseconds ) \
45  { \
46  }
47
48/* Constants */
49
50#define RAM_START 0
51#define RAM_END   0x100000
52
53/* miscellaneous stuff assumed to exist */
54
55extern rtems_configuration_table BSP_Configuration;
56
57/*
58 *  Device Driver Table Entries
59 */
60
61/*
62 * NOTE: Use the standard Console driver entry
63 */
64
65/*
66 * NOTE: Use the standard Clock driver entry
67 */
68
69/* functions */
70
71void bsp_cleanup( void );
72
73no_cpu_isr_entry set_vector(                    /* returns old vector */
74  rtems_isr_entry     handler,                  /* isr routine        */
75  rtems_vector_number vector,                   /* vector number      */
76  int                 type                      /* RTEMS or RAW intr  */
77);
78
79#ifdef __cplusplus
80}
81#endif
82
83#endif
84/* end of include file */
Note: See TracBrowser for help on using the repository browser.