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

4.104.114.84.95
Last change on this file since c4d92216 was c4d92216, checked in by Joel Sherrill <joel.sherrill@…>, on Jun 18, 2001 at 4:54:47 PM

2001-05-26 Ralf Corsepius <corsepiu@…>

  • configure.in: Add bspopts.h.
  • include/.cvsignore: Add bspopts.h*, stamp-h*.
  • include/Makefile.am: Use *_HEADERS instead of *H_FILES.
  • include/bsp.h: Include bspopts.h.
  • Property mode set to 100644
File size: 2.0 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 <bspopts.h>
12
13#include <rtems.h>
14#include <console.h>
15#include <clockdrv.h>
16#include <motorola/mc68230.h>
17#include <motorola/mc68681.h>
18
19/*
20 *  confdefs.h overrides for this BSP:
21 *   - number of termios serial ports (defaults to 1)
22 *   - Interrupt stack space is not minimum if defined.
23 */
24
25/* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
26#define CONFIGURE_INTERRUPT_STACK_MEMORY  (4 * 1024)
27
28#define DUART_ADDR      0xb00003   /* base address of the MC68681 DUART */
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#define MAX_LONG_TEST_DURATION       300 /* 5 minutes = 300 seconds */
38#define MAX_SHORT_TEST_DURATION      3   /* 3 seconds */
39
40/*
41 *  Define the interrupt mechanism for Time Test 27
42 *
43 *  NOTE: tm27 apparently not supported.
44 */
45
46#define MUST_WAIT_FOR_INTERRUPT 0
47
48#define Install_tm27_vector( handler )
49
50#define Cause_tm27_intr() 
51
52#define Clear_tm27_intr() 
53
54#define Lower_tm27_intr()
55
56/* Constants */
57
58#define RAM_START 0
59#define RAM_END   0x200000
60
61#ifdef MIDP_INIT
62#undef EXTERN
63#define EXTERN
64#else
65#undef EXTERN
66#define EXTERN extern
67#endif
68
69/*
70 *  Device Driver Table Entries
71 */
72
73/*
74 * NOTE: Use the standard Console driver entry
75 */
76 
77/*
78 * NOTE: Use the standard Clock driver entry
79 */
80
81/* miscellaneous stuff assumed to exist */
82
83extern rtems_configuration_table BSP_Configuration;
84
85extern m68k_isr_entry M68Kvec[];   /* vector table address */
86
87/* functions */
88
89void bsp_cleanup( void );
90
91m68k_isr_entry set_vector(
92  rtems_isr_entry     handler,
93  rtems_vector_number vector,
94  int                 type
95);
96
97void init_pit( void );
98
99void transmit_char( char ch );
100
101void transmit_char_portb( char ch );
102
103#endif
104/* end of include file */
Note: See TracBrowser for help on using the repository browser.