source: rtems/c/src/lib/libbsp/m68k/gen68302/include/bsp.h @ 46dde0fc

4.115
Last change on this file since 46dde0fc was 46dde0fc, checked in by Sebastian Huber <sebastian.huber@…>, on 10/23/14 at 08:05:17

bsps: Move extern "C" to not cover includes

Some includes may use C++ and this conflicts if surrounded extern "C".

  • Property mode set to 100644
File size: 1.1 KB
Line 
1/**
2 * @file
3 *
4 * @ingroup m68k_gen68302
5 *
6 * @brief Global BSP definitions.
7 */
8
9/*
10 *  COPYRIGHT (c) 1989-1999.
11 *  On-Line Applications Research Corporation (OAR).
12 *
13 *  The license and distribution terms for this file may be
14 *  found in the file LICENSE in this distribution or at
15 *  http://www.rtems.org/license/LICENSE.
16 */
17
18#ifndef _BSP_H
19#define _BSP_H
20
21#include <bspopts.h>
22#include <bsp/default-initial-extension.h>
23
24#include <rtems.h>
25#include <rtems/console.h>
26#include <rtems/iosupp.h>
27#include <rtems/clockdrv.h>
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32
33/**
34 * @defgroup m68k_gen68302 GEN68302 Support
35 *
36 * @ingroup bsp_m68k
37 *
38 * @brief GEN68302 support.
39 */
40
41/* Constants */
42
43#define RAM_START 0
44#define RAM_END   0x040000
45
46/* Structures */
47
48#ifdef GEN68302_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_isr_entry M68Kvec[];   /* vector table address */
59
60/* functions */
61
62rtems_isr_entry set_vector(
63  rtems_isr_entry     handler,
64  rtems_vector_number vector,
65  int                 type
66);
67
68#ifdef __cplusplus
69}
70#endif
71
72#endif
Note: See TracBrowser for help on using the repository browser.