source: rtems/c/src/lib/libbsp/no_cpu/no_bsp/include/bsp.h @ 7dd6e8d

4.104.114.84.95
Last change on this file since 7dd6e8d was 7dd6e8d, checked in by Ralf Corsepius <ralf.corsepius@…>, on 04/21/04 at 16:16:38

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

PR 614/bsps

  • include/bsp.h: Remove MAX_SHORT_TEST_DURATION (Unused).
  • Property mode set to 100644
File size: 2.2 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 __NO_BSP_h
18#define __NO_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 *  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
49/*
50 *  Stuff for Time Test 27
51 */
52
53#define MUST_WAIT_FOR_INTERRUPT 0
54
55#define Install_tm27_vector( handler ) set_vector( (handler), 0, 1 )
56
57#define Cause_tm27_intr()
58
59#define Clear_tm27_intr()
60
61#define Lower_tm27_intr()
62
63/*
64 *  Simple spin delay in microsecond units for device drivers.
65 *  This is very dependent on the clock speed of the target.
66 */
67
68#define rtems_bsp_delay( microseconds ) \
69  { \
70  }
71
72/* Constants */
73
74#define RAM_START 0
75#define RAM_END   0x100000
76
77/* miscellaneous stuff assumed to exist */
78
79extern rtems_configuration_table BSP_Configuration;
80
81/*
82 *  Device Driver Table Entries
83 */
84
85/*
86 * NOTE: Use the standard Console driver entry
87 */
88
89/*
90 * NOTE: Use the standard Clock driver entry
91 */
92
93/* functions */
94
95void bsp_cleanup( void );
96
97no_cpu_isr_entry set_vector(                    /* returns old vector */
98  rtems_isr_entry     handler,                  /* isr routine        */
99  rtems_vector_number vector,                   /* vector number      */
100  int                 type                      /* RTEMS or RAW intr  */
101);
102
103#ifdef __cplusplus
104}
105#endif
106
107#endif
108/* end of include file */
Note: See TracBrowser for help on using the repository browser.