source: rtems/c/src/lib/libbsp/h8300/h8sim/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: 929 bytes
Line 
1/**
2 *  @file
3 *
4 *  @ingroup h8300_bsp
5 *
6 *  @brief h8 simulator definitions in gdb
7 *
8 *  This include file contains some definitions specific to the
9 *  h8 simulator in gdb.
10 */
11
12/*
13 *  COPYRIGHT (c) 1989-2013.
14 *  On-Line Applications Research Corporation (OAR).
15 *
16 *  The license and distribution terms for this file may be
17 *  found in the file LICENSE in this distribution or at
18 *  http://www.rtems.org/license/LICENSE.
19 */
20
21#ifndef _BSP_H
22#define _BSP_H
23
24#include <bspopts.h>
25#include <bsp/default-initial-extension.h>
26
27#include <rtems.h>
28#include <rtems/iosupp.h>
29#include <rtems/console.h>
30#include <rtems/clockdrv.h>
31
32#ifdef __cplusplus
33extern "C" {
34#endif
35
36/**
37 *  @defgroup h8300_bsp Clock Tick Support
38 *
39 *  @ingroup h8300_h8sim
40 *
41 *  @brief Clock Tick Support Package
42 */
43Thread clock_driver_sim_idle_body(uintptr_t);
44#define BSP_IDLE_TASK_BODY clock_driver_sim_idle_body
45
46#ifdef __cplusplus
47}
48#endif
49
50#endif
Note: See TracBrowser for help on using the repository browser.