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

4.104.114.84.95
Last change on this file since df49c60 was df49c60, checked in by Joel Sherrill <joel.sherrill@…>, on Jun 12, 2000 at 3:00:15 PM

Merged from 4.5.0-beta3a

  • Property mode set to 100644
File size: 1.9 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/*
18 *  confdefs.h overrides for this BSP:
19 *   - number of termios serial ports (defaults to 1)
20 *   - Interrupt stack space is not minimum if defined.
21 */
22
23/* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
24#define CONFIGURE_INTERRUPT_STACK_MEMORY  (4 * 1024)
25
26#define DUART_ADDR      0xb00003   /* base address of the MC68681 DUART */
27
28/*
29 *  Define the time limits for RTEMS Test Suite test durations.
30 *  Long test and short test duration limits are provided.  These
31 *  values are in seconds and need to be converted to ticks for the
32 *  application.
33 */
34
35#define MAX_LONG_TEST_DURATION       300 /* 5 minutes = 300 seconds */
36#define MAX_SHORT_TEST_DURATION      3   /* 3 seconds */
37
38/*
39 *  Define the interrupt mechanism for Time Test 27
40 *
41 *  NOTE: tm27 apparently not supported.
42 */
43
44#define MUST_WAIT_FOR_INTERRUPT 0
45
46#define Install_tm27_vector( handler )
47
48#define Cause_tm27_intr() 
49
50#define Clear_tm27_intr() 
51
52#define Lower_tm27_intr()
53
54/* Constants */
55
56#define RAM_START 0
57#define RAM_END   0x200000
58
59#ifdef MIDP_INIT
60#undef EXTERN
61#define EXTERN
62#else
63#undef EXTERN
64#define EXTERN extern
65#endif
66
67/*
68 *  Device Driver Table Entries
69 */
70
71/*
72 * NOTE: Use the standard Console driver entry
73 */
74 
75/*
76 * NOTE: Use the standard Clock driver entry
77 */
78
79/* miscellaneous stuff assumed to exist */
80
81extern rtems_configuration_table BSP_Configuration;
82
83extern m68k_isr_entry M68Kvec[];   /* vector table address */
84
85/* functions */
86
87void bsp_cleanup( void );
88
89m68k_isr_entry set_vector(
90  rtems_isr_entry     handler,
91  rtems_vector_number vector,
92  int                 type
93);
94
95void init_pit( void );
96
97void transmit_char( char ch );
98
99void transmit_char_portb( char ch );
100
101#endif
102/* end of include file */
Note: See TracBrowser for help on using the repository browser.