source: rtems/c/src/lib/libbsp/m68k/sim68000/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: 1006 bytes
Line 
1/*  bsp.h
2 *
3 *  This include file contains some definitions specific to the
4 *  BSVC simulator BSP.
5 *
6 *  COPYRIGHT (c) 1989-2000.
7 *  On-Line Applications Research Corporation (OAR).
8 *
9 *  The license and distribution terms for this file may be
10 *  found in the file LICENSE in this distribution or at
11 *  http://www.rtems.org/license/LICENSE.
12 */
13
14#ifndef __BSVC_SIM
15#define __BSVC_SIM
16
17#include <bspopts.h>
18#include <bsp/default-initial-extension.h>
19
20#include <rtems.h>
21#include <rtems/iosupp.h>
22#include <rtems/console.h>
23#include <rtems/clockdrv.h>
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
29/*
30 *  Define some hardware constants here
31 */
32
33/* functions */
34
35rtems_isr_entry set_vector( rtems_isr_entry, rtems_vector_number, int );
36
37/*
38 * Prototype for methods in the BSP that cross file boundaries.
39 */
40void bsp_spurious_initialize(void);
41void bsp_spurious_handler_assistant(rtems_vector_number vector);
42rtems_isr bsp_spurious_handler(rtems_vector_number vector);
43
44#ifdef __cplusplus
45}
46#endif
47
48#endif
Note: See TracBrowser for help on using the repository browser.