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

4.104.114.84.95
Last change on this file since ac7d5ef0 was ac7d5ef0, checked in by Joel Sherrill <joel.sherrill@…>, on May 11, 1995 at 5:39:37 PM

Initial revision

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