source: rtems/c/src/lib/libbsp/bare/include/bsp.h @ 6128a4a

4.104.114.84.95
Last change on this file since 6128a4a was 6128a4a, checked in by Ralf Corsepius <ralf.corsepius@…>, on 04/21/04 at 10:43:04

Remove stray white spaces.

  • Property mode set to 100644
File size: 1.9 KB
RevLine 
[bd5e4f3b]1/*  bsp.h
2 *
3 *  This include file contains all board IO definitions.
4 *
5 *  BARE : Allows you to build RTEMS with-out any BSP specific stuff
6 *
[08311cc3]7 *  COPYRIGHT (c) 1989-1999.
[bd5e4f3b]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
[662175b]12 *  http://www.rtems.com/license/LICENSE.
[bd5e4f3b]13 *
[6128a4a]14 *  $Id$
[bd5e4f3b]15*/
16
17#ifndef __BARE_BSP_h
18#define __BARE_BSP_h
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
[69e93d8]24#include <bspopts.h>
25
[bd5e4f3b]26#include <rtems.h>
[0a0d67c5]27#include <rtems/console.h>
28#include <rtems/clockdrv.h>
[bd5e4f3b]29
[df49c60]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  (12 * 1024)
38
[bd5e4f3b]39/*
40 *  Define the time limits for RTEMS Test Suite test durations.
41 *  Long test and short test duration limits are provided.  These
42 *  values are in seconds and need to be converted to ticks for the
43 *  application.
44 *
45 */
46
47#define MAX_LONG_TEST_DURATION       300 /* 5 minutes = 300 seconds */
48#define MAX_SHORT_TEST_DURATION      3   /* 3 seconds */
49
50/*
51 *  Stuff for Time Test 27
52 */
53
54#define MUST_WAIT_FOR_INTERRUPT 0
55
[6128a4a]56#define Install_tm27_vector( handler )
[bd5e4f3b]57
58#define Cause_tm27_intr()
59
60#define Clear_tm27_intr()
61
62#define Lower_tm27_intr()
63
64/*
65 *  Simple spin delay in microsecond units for device drivers.
66 *  This is very dependent on the clock speed of the target.
67 */
68
[cf282090]69#define rtems_bsp_delay( microseconds ) \
[bd5e4f3b]70  { \
71  }
72
73/* miscellaneous stuff assumed to exist */
74
75extern rtems_configuration_table BSP_Configuration;
76
77/*
78 *  Device Driver Table Entries
79 */
80
81/*
82 * NOTE: Use the standard Console driver entry
83 */
[6128a4a]84
[bd5e4f3b]85/*
86 * NOTE: Use the standard Clock driver entry
87 */
88
89/*
90 * How many libio files we want
91 */
92
93#define BSP_LIBIO_MAX_FDS       20
94
95/* functions */
96
97#ifdef __cplusplus
98}
99#endif
100
101#endif
102/* end of include file */
Note: See TracBrowser for help on using the repository browser.