source: rtems/c/src/lib/libbsp/bare/include/bsp.h @ 08311cc3

4.104.114.84.95
Last change on this file since 08311cc3 was 08311cc3, checked in by Joel Sherrill <joel.sherrill@…>, on 11/17/99 at 17:51:34

Updated copyright notice.

  • Property mode set to 100644
File size: 1.6 KB
Line 
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 *
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.OARcorp.com/rtems/license.html.
13 *
14 *  $Id$
15*/
16
17#ifndef __BARE_BSP_h
18#define __BARE_BSP_h
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
24#include <rtems.h>
25#include <console.h>
26#include <clockdrv.h>
27
28/*
29 *  Define the time limits for RTEMS Test Suite test durations.
30 *  Long test and short test duration limits are provided.  These
31 *  values are in seconds and need to be converted to ticks for the
32 *  application.
33 *
34 */
35
36#define MAX_LONG_TEST_DURATION       300 /* 5 minutes = 300 seconds */
37#define MAX_SHORT_TEST_DURATION      3   /* 3 seconds */
38
39/*
40 *  Stuff for Time Test 27
41 */
42
43#define MUST_WAIT_FOR_INTERRUPT 0
44
45#define Install_tm27_vector( handler )
46
47#define Cause_tm27_intr()
48
49#define Clear_tm27_intr()
50
51#define Lower_tm27_intr()
52
53/*
54 *  Simple spin delay in microsecond units for device drivers.
55 *  This is very dependent on the clock speed of the target.
56 */
57
58#define delay( microseconds ) \
59  { \
60  }
61
62/* miscellaneous stuff assumed to exist */
63
64extern rtems_configuration_table BSP_Configuration;
65
66/*
67 *  Device Driver Table Entries
68 */
69
70/*
71 * NOTE: Use the standard Console driver entry
72 */
73 
74/*
75 * NOTE: Use the standard Clock driver entry
76 */
77
78/*
79 * How many libio files we want
80 */
81
82#define BSP_LIBIO_MAX_FDS       20
83
84/* functions */
85
86#ifdef __cplusplus
87}
88#endif
89
90#endif
91/* end of include file */
Note: See TracBrowser for help on using the repository browser.