blob: 21c0293a1ac4900b271a5d7f0c8322301b6bb271 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
/* bsp.h
*
* This include file contains all Motorola 680x0 IDP board IO definitions.
*/
#ifndef _BSP_H
#define _BSP_H
#include <bspopts.h>
#include <rtems.h>
#include <rtems/console.h>
#include <rtems/clockdrv.h>
#include <bsp/setvec.h>
#include <rtems/motorola/mc68230.h>
#include <rtems/motorola/mc68681.h>
#define DUART_ADDR 0xb00003 /* base address of the MC68681 DUART */
/* Constants */
#define RAM_START 0
#define RAM_END 0x200000
extern rtems_isr_entry M68Kvec[]; /* vector table address */
/* functions */
void init_pit( void );
void transmit_char( char ch );
void transmit_char_portb( char ch );
#endif
|