source: rtems/c/src/lib/libbsp/mips/rbtx4938/include/bsp.h @ 4ba5ac6

4.104.114.84.95
Last change on this file since 4ba5ac6 was 4ba5ac6, checked in by Ralf Corsepius <ralf.corsepius@…>, on 03/16/06 at 17:41:28

New (Submission by Bruce Robinson <brucer@…>).

  • Property mode set to 100644
File size: 1.8 KB
Line 
1/*  bsp.h
2 *
3 *  This include file contains some definitions specific to the RBTX4938.
4 *
5 *  COPYRIGHT (c) 1989-2000.
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 *  bsp.h,v 1.7.6.1 2003/09/04 18:44:49 joel Exp
13 */
14
15#ifndef __RBTX4938_h
16#define __RBTX4938_h
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
22#include <bspopts.h>
23
24#include <rtems.h>
25#include <rtems/iosupp.h>
26#include <rtems/console.h>
27#include <rtems/clockdrv.h>
28#include <libcpu/tx4938.h>
29
30/*
31 *  Define the time limits for RTEMS Test Suite test durations.
32 *  Long test and short test duration limits are provided.  These
33 *  values are in seconds and need to be converted to ticks for the
34 *  application.
35 *
36 */
37
38#define MAX_LONG_TEST_DURATION       300 /* 5 minutes = 300 seconds */
39#define MAX_SHORT_TEST_DURATION      3   /* 3 seconds */
40
41/*
42 *  Define the interrupt mechanism for Time Test 27
43 *
44 *  NOTE: Following are for XXX and are board independent
45 *
46 */
47#define MUST_WAIT_FOR_INTERRUPT 1
48
49#define Install_tm27_vector( handler ) \
50  do { \
51  } while(0)
52
53#define Cause_tm27_intr() \
54  do { \
55  } while(0)
56
57#define Clear_tm27_intr() \
58  do { \
59  } while(0)
60
61#define Lower_tm27_intr() \
62  do { \
63  } while(0)
64
65
66/* Constants */
67
68/* miscellaneous stuff assumed to exist */
69
70extern rtems_configuration_table BSP_Configuration;
71
72/*
73 *  Device Driver Table Entries
74 */
75
76/*
77 * NOTE: Use the standard Console driver entry
78 */
79 
80/*
81 * NOTE: Use the standard Clock driver entry
82 */
83
84/* functions */
85
86void bsp_cleanup( void );
87
88rtems_isr_entry set_vector(
89  rtems_isr_entry, rtems_vector_number, int );
90
91#ifdef __cplusplus
92}
93#endif
94
95#endif
96/* end of include file */
Note: See TracBrowser for help on using the repository browser.