source: rtems/c/src/lib/libbsp/m68k/idp/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.6 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 <rtems/console.h>
15#include <rtems/clockdrv.h>
16#include <rtems/motorola/mc68230.h>
17#include <rtems/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 interrupt mechanism for Time Test 27
32 *
33 *  NOTE: tm27 apparently not supported.
34 */
35
36#define MUST_WAIT_FOR_INTERRUPT 0
37
38#define Install_tm27_vector( handler )
39
40#define Cause_tm27_intr()
41
42#define Clear_tm27_intr()
43
44#define Lower_tm27_intr()
45
46/* Constants */
47
48#define RAM_START 0
49#define RAM_END   0x200000
50
51#ifdef MIDP_INIT
52#undef EXTERN
53#define EXTERN
54#else
55#undef EXTERN
56#define EXTERN extern
57#endif
58
59/*
60 *  Device Driver Table Entries
61 */
62
63/*
64 * NOTE: Use the standard Console driver entry
65 */
66
67/*
68 * NOTE: Use the standard Clock driver entry
69 */
70
71/* miscellaneous stuff assumed to exist */
72
73extern rtems_configuration_table BSP_Configuration;
74
75extern m68k_isr_entry M68Kvec[];   /* vector table address */
76
77/* functions */
78
79void bsp_cleanup( void );
80
81m68k_isr_entry set_vector(
82  rtems_isr_entry     handler,
83  rtems_vector_number vector,
84  int                 type
85);
86
87void init_pit( void );
88
89void transmit_char( char ch );
90
91void transmit_char_portb( char ch );
92
93#endif
94/* end of include file */
Note: See TracBrowser for help on using the repository browser.