4.104.114.84.95
Last change
on this file since e35761b was
e35761b,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 04/22/04 at 15:25:55
|
2004-04-22 Ralf Corsepius <ralf_corsepius@…>
- include/bsp.h: Split out tmtest27 support.
- include/tm27.h: New.
|
-
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 <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 | /* Constants */ |
---|
31 | |
---|
32 | #define RAM_START 0 |
---|
33 | #define RAM_END 0x200000 |
---|
34 | |
---|
35 | #ifdef MIDP_INIT |
---|
36 | #undef EXTERN |
---|
37 | #define EXTERN |
---|
38 | #else |
---|
39 | #undef EXTERN |
---|
40 | #define EXTERN extern |
---|
41 | #endif |
---|
42 | |
---|
43 | /* |
---|
44 | * Device Driver Table Entries |
---|
45 | */ |
---|
46 | |
---|
47 | /* |
---|
48 | * NOTE: Use the standard Console driver entry |
---|
49 | */ |
---|
50 | |
---|
51 | /* |
---|
52 | * NOTE: Use the standard Clock driver entry |
---|
53 | */ |
---|
54 | |
---|
55 | /* miscellaneous stuff assumed to exist */ |
---|
56 | |
---|
57 | extern rtems_configuration_table BSP_Configuration; |
---|
58 | |
---|
59 | extern m68k_isr_entry M68Kvec[]; /* vector table address */ |
---|
60 | |
---|
61 | /* functions */ |
---|
62 | |
---|
63 | void bsp_cleanup( void ); |
---|
64 | |
---|
65 | m68k_isr_entry set_vector( |
---|
66 | rtems_isr_entry handler, |
---|
67 | rtems_vector_number vector, |
---|
68 | int type |
---|
69 | ); |
---|
70 | |
---|
71 | void init_pit( void ); |
---|
72 | |
---|
73 | void transmit_char( char ch ); |
---|
74 | |
---|
75 | void transmit_char_portb( char ch ); |
---|
76 | |
---|
77 | #endif |
---|
78 | /* end of include file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.