source: rtems/c/src/lib/libbsp/m68k/mcf5225x/include/bsp.h @ 9b4422a2

4.115
Last change on this file since 9b4422a2 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 1.9 KB
Line 
1/*
2 *  The license and distribution terms for this file may be
3 *  found in the file LICENSE in this distribution or at
4 *  http://www.rtems.com/license/LICENSE.
5 */
6 
7#ifndef _BSP_H
8#define _BSP_H
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14#include <bspopts.h>
15#include <rtems.h>
16#include <rtems/iosupp.h>
17#include <rtems/console.h>
18#include <rtems/clockdrv.h>
19#include <rtems/iosupp.h>
20#include <rtems/bspIo.h>
21
22#define BSP_SMALL_MEMORY 1
23
24/***************************************************************************/
25/**  Hardware data structure headers                                      **/
26#include <mcf5225x/mcf5225x.h>
27   
28/* Declare base address of peripherals area */
29#define __IPSBAR ((vuint8 *) 0x40000000)   
30
31/***************************************************************************/
32/**  Network driver configuration                                         **/
33
34/***************************************************************************/
35/**  User Definable configuration                                         **/
36
37/* define ports for console and DPU specific for BLUETOOTH and STATIONS */
38#define STATIONS_PORT                   0
39#define CONSOLE_PORT      1
40#define BLUETOOTH_PORT          2
41
42/* externals */
43
44/* constants */
45
46/* miscellaneous stuff assumed to exist */
47
48/*
49 *  Device Driver Table Entries
50 */
51 
52/*
53 * NOTE: Use the standard Console driver entry
54 */
55 
56/*
57 * NOTE: Use the standard Clock driver entry
58 */
59
60
61/* functions */
62
63uint32_t bsp_get_CPU_clock_speed(void);
64
65rtems_isr_entry set_vector(
66  rtems_isr_entry     handler,
67  rtems_vector_number vector,
68  int                 type
69);
70
71/*
72 * Interrupt assignments
73 *  Highest-priority listed first
74 */
75
76#define PIT3_IRQ_LEVEL      4
77#define PIT3_IRQ_PRIORITY   0
78
79#define UART0_IRQ_LEVEL     3
80#define UART0_IRQ_PRIORITY  7
81#define UART1_IRQ_LEVEL     3
82#define UART1_IRQ_PRIORITY  6
83#define UART2_IRQ_LEVEL     3
84#define UART2_IRQ_PRIORITY  5
85
86#ifdef __cplusplus
87}
88#endif
89
90#endif
Note: See TracBrowser for help on using the repository browser.