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

4.104.114.84.95
Last change on this file since 88d594a was 88d594a, checked in by Joel Sherrill <joel.sherrill@…>, on May 24, 1995 at 9:39:42 PM

Fully tested on all in-house targets

  • Property mode set to 100644
File size: 1.4 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 <mc68230.h>
14#include <mc68681.h>
15
16/*
17 *  Define the time limits for RTEMS Test Suite test durations.
18 *  Long test and short test duration limits are provided.  These
19 *  values are in seconds and need to be converted to ticks for the
20 *  application.
21 */
22
23#define MAX_LONG_TEST_DURATION       300 /* 5 minutes = 300 seconds */
24#define MAX_SHORT_TEST_DURATION      3   /* 3 seconds */
25
26/*
27 *  Define the interrupt mechanism for Time Test 27
28 *
29 *  NOTE: tm27 apparently not supported.
30 */
31
32#define MUST_WAIT_FOR_INTERRUPT 0
33
34#define Install_tm27_vector( handler )
35
36#define Cause_tm27_intr() 
37
38#define Clear_tm27_intr() 
39
40#define Lower_tm27_intr()
41
42/* Constants */
43
44#define RAM_START 0
45#define RAM_END   0x200000
46
47#ifdef MIDP_INIT
48#undef EXTERN
49#define EXTERN
50#else
51#undef EXTERN
52#define EXTERN extern
53#endif
54
55/* miscellaneous stuff assumed to exist */
56
57extern rtems_configuration_table BSP_Configuration;
58
59extern m68k_isr     M68Kvec[];   /* vector table address */
60
61/* functions */
62
63void bsp_cleanup( void );
64
65m68k_isr set_vector(
66  rtems_isr_entry     handler,
67  rtems_vector_number vector,
68  int                 type
69);
70
71void init_pit( void );
72
73void transmit_char( char ch );
74
75void transmit_char_portb( char ch );
76
77#endif
78/* end of include file */
Note: See TracBrowser for help on using the repository browser.