source: rtems/c/src/lib/libbsp/unix/posix/include/bsp.h @ 3344730a

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

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

PR 613/bsps

  • include/bsp.h: Remove MAX_LONG_TEST_DURATION.
  • Property mode set to 100644
File size: 1.9 KB
Line 
1/*  bsp.h
2 *
3 *  This include file contains all POSIX BSP definitions.
4 *
5 *  COPYRIGHT (c) 1989-1999.
6 *  On-Line Applications Research Corporation (OAR).
7 *
8 *  The license and distribution terms for this file may be
9 *  found in the file LICENSE in this distribution or at
10 *  http://www.rtems.com/license/LICENSE.
11 *
12 *  $Id$
13 */
14
15#ifndef __POSIX_BSP_h
16#define __POSIX_BSP_h
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
22#include <bspopts.h>
23
24#include <rtems.h>
25#include <rtems/clockdrv.h>
26#include <rtems/console.h>
27#include <rtems/iosupp.h>
28
29/*
30 *  confdefs.h overrides for this BSP:
31 *   - number of termios serial ports (defaults to 1)
32 *   - Interrupt stack space is not minimum if defined.
33 */
34
35/* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
36#define CONFIGURE_INTERRUPT_STACK_MEMORY  (4 * 1024)
37
38/*
39 *  Stuff for Time Test 27
40 */
41
42#define MUST_WAIT_FOR_INTERRUPT 1
43
44#define Install_tm27_vector( handler ) \
45    set_vector( (handler), 16, 1 )
46
47#define Cause_tm27_intr()  \
48    raise( 16 )
49
50#define Clear_tm27_intr()
51
52#define Lower_tm27_intr() \
53    _ISR_Set_level( 0 );
54
55#define RAM_START 0
56#define RAM_END   0x100000
57
58/* miscellaneous stuff assumed to exist */
59
60extern rtems_configuration_table BSP_Configuration;
61
62/*
63 *  Device Driver Table Entries
64 */
65
66/*
67 * NOTE: Use the standard Console driver entry
68 */
69
70/*
71 * NOTE: Use the standard Clock driver entry
72 */
73
74/* functions */
75
76rtems_isr_entry set_vector(rtems_isr_entry, rtems_vector_number, int);
77void bsp_start( void );
78void bsp_cleanup( void );
79
80/* miscellaneous stuff assumed to exist */
81
82extern rtems_configuration_table BSP_Configuration;     /* owned by BSP */
83extern rtems_cpu_table           Cpu_table;             /* owned by BSP */
84
85extern int                       rtems_argc;
86extern char                    **rtems_argv;
87
88extern uint32_t                  bsp_isr_level;
89
90extern char *rtems_progname;    /* UNIX executable name */
91
92extern int cpu_number;
93
94#ifdef __cplusplus
95}
96#endif
97
98#endif
99/* end of include file */
Note: See TracBrowser for help on using the repository browser.