source: rtems/c/src/lib/libbsp/m68k/idp/include/bsp.h @ a2016b99

4.104.114.84.95
Last change on this file since a2016b99 was 02d0880, checked in by Joel Sherrill <joel.sherrill@…>, on 08/04/97 at 21:50:35

moved header files into the motorola and zilog subdirectories

  • Property mode set to 100644
File size: 1.8 KB
Line 
1/*  bsp.h
2 *
3 *  This include file contains all Motorola 680x0 IDP board IO definitions.
4 *
5 *  $Id$
6 */
7
8#ifndef __IDP_BSP_H
9#define __IDP_BSP_H
10
11#include <rtems.h>
12#include <console.h>
13#include <clockdrv.h>
14#include <motorola/mc68230.h>
15#include <motorola/mc68681.h>
16
17#define DUART_ADDR      0xb00003   /* base address of the MC68681 DUART */
18
19/*
20 *  Define the time limits for RTEMS Test Suite test durations.
21 *  Long test and short test duration limits are provided.  These
22 *  values are in seconds and need to be converted to ticks for the
23 *  application.
24 */
25
26#define MAX_LONG_TEST_DURATION       300 /* 5 minutes = 300 seconds */
27#define MAX_SHORT_TEST_DURATION      3   /* 3 seconds */
28
29/*
30 *  Define the interrupt mechanism for Time Test 27
31 *
32 *  NOTE: tm27 apparently not supported.
33 */
34
35#define MUST_WAIT_FOR_INTERRUPT 0
36
37#define Install_tm27_vector( handler )
38
39#define Cause_tm27_intr() 
40
41#define Clear_tm27_intr() 
42
43#define Lower_tm27_intr()
44
45/* Constants */
46
47#define RAM_START 0
48#define RAM_END   0x200000
49
50#ifdef MIDP_INIT
51#undef EXTERN
52#define EXTERN
53#else
54#undef EXTERN
55#define EXTERN extern
56#endif
57
58/*
59 *  Device Driver Table Entries
60 */
61
62/*
63 * NOTE: Use the standard Console driver entry
64 */
65 
66/*
67 * NOTE: Use the standard Clock driver entry
68 */
69
70/*
71 * How many libio files we want
72 */
73
74#define BSP_LIBIO_MAX_FDS       20
75
76/* miscellaneous stuff assumed to exist */
77
78extern rtems_configuration_table BSP_Configuration;
79
80extern m68k_isr_entry M68Kvec[];   /* vector table address */
81
82/* functions */
83
84void bsp_cleanup( void );
85
86m68k_isr_entry set_vector(
87  rtems_isr_entry     handler,
88  rtems_vector_number vector,
89  int                 type
90);
91
92void init_pit( void );
93
94void transmit_char( char ch );
95
96void transmit_char_portb( char ch );
97
98#endif
99/* end of include file */
Note: See TracBrowser for help on using the repository browser.