source: rtems/c/src/lib/libbsp/m68k/ods68302/include/bsp.h @ 053abcda

4.11
Last change on this file since 053abcda was 053abcda, checked in by Joel Sherrill <joel.sherrill@…>, on Apr 23, 2014 at 11:38:43 PM

multiple BSPs: Remove BSP_SMALL_MEMORY

  • Property mode set to 100644
File size: 1.1 KB
Line 
1/*  bsp.h
2 *
3 *  This include file contains all board IO definitions.
4 */
5
6/*
7 *  COPYRIGHT (c) 1989-2010.
8 *  On-Line Applications Research Corporation (OAR).
9 *
10 *  The license and distribution terms for this file may be
11 *  found in the file LICENSE in this distribution or at
12 *  http://www.rtems.org/license/LICENSE.
13 */
14
15#ifndef _BSP_H
16#define _BSP_H
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
22#include <bspopts.h>
23#include <bsp/default-initial-extension.h>
24
25#include <rtems.h>
26#include <rtems/console.h>
27#include <rtems/iosupp.h>
28#include <rtems/clockdrv.h>
29#include <rtems/m68k/m68302.h>
30
31#ifndef VARIANT
32#define VARIANT bare
33#endif
34#if defined(VARIANT)
35#define HQUOTE(a) <a.h>
36#include HQUOTE(VARIANT)
37#undef HQUOTE
38#endif
39
40/* Constants */
41
42#define RAM_START RAM_BASE
43#define RAM_END   (RAM_BASE + RAM_SIZE)
44
45/* Structures */
46
47#ifdef GEN68302_INIT
48#undef EXTERN
49#define EXTERN
50#else
51#undef EXTERN
52#define EXTERN extern
53#endif
54
55extern rtems_isr_entry M68Kvec[];   /* vector table address */
56
57/* functions */
58
59rtems_isr_entry set_vector(
60  rtems_isr_entry     handler,
61  rtems_vector_number vector,
62  int                 type
63);
64
65#ifdef __cplusplus
66}
67#endif
68
69#endif
Note: See TracBrowser for help on using the repository browser.