Changeset 46dde0fc in rtems


Ignore:
Timestamp:
Oct 23, 2014, 8:05:17 AM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
b442032
Parents:
3e739ae
git-author:
Sebastian Huber <sebastian.huber@…> (10/23/14 08:05:17)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/23/14 08:21:41)
Message:

bsps: Move extern "C" to not cover includes

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

Location:
c/src/lib/libbsp
Files:
68 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/csb336/include/bsp.h

    r3e739ae r46dde0fc  
    2020#define _BSP_H
    2121
    22 #ifdef __cplusplus
    23 extern "C" {
    24 #endif
    25 
    2622#include <bspopts.h>
    2723#include <bsp/default-initial-extension.h>
     
    3228#include <rtems/clockdrv.h>
    3329#include <mc9328mxl.h>
     30
     31#ifdef __cplusplus
     32extern "C" {
     33#endif
    3434
    3535/**
  • c/src/lib/libbsp/arm/csb337/include/bsp.h

    r3e739ae r46dde0fc  
    2020#define _BSP_H
    2121
    22 #ifdef __cplusplus
    23 extern "C" {
    24 #endif
    25 
    2622#include <bspopts.h>
    2723#include <bsp/default-initial-extension.h>
     
    3026#include <rtems/console.h>
    3127#include <rtems/clockdrv.h>
     28
     29#ifdef __cplusplus
     30extern "C" {
     31#endif
    3232
    3333/**
  • c/src/lib/libbsp/arm/edb7312/include/bsp.h

    r3e739ae r46dde0fc  
    1919#ifndef ASM
    2020
    21 #ifdef __cplusplus
    22 extern "C" {
    23 #endif
    24 
    2521#include <bspopts.h>
    2622#include <bsp/default-initial-extension.h>
     
    3026#include <rtems/console.h>
    3127#include <rtems/clockdrv.h>
     28
     29#ifdef __cplusplus
     30extern "C" {
     31#endif
    3232
    3333#define BSP_FEATURE_IRQ_EXTENSION
  • c/src/lib/libbsp/arm/gba/include/bsp.h

    r3e739ae r46dde0fc  
    2121#define __BSP_H_
    2222
    23 #ifdef __cplusplus
    24 extern "C" {
    25 #endif
    26 
    2723#include <bspopts.h>
    2824#include <bsp/default-initial-extension.h>
     
    3228#include <rtems/console.h>
    3329#include <rtems/clockdrv.h>
     30
     31#ifdef __cplusplus
     32extern "C" {
     33#endif
    3434
    3535#define BSP_FEATURE_IRQ_EXTENSION
  • c/src/lib/libbsp/arm/gdbarmsim/include/bsp.h

    r3e739ae r46dde0fc  
    1919#define _BSP_H
    2020
    21 #ifdef __cplusplus
    22 extern "C" {
    23 #endif
    24 
    2521#include <bspopts.h>
    2622#include <bsp/default-initial-extension.h>
     
    3026#include <rtems/console.h>
    3127#include <rtems/clockdrv.h>
     28
     29#ifdef __cplusplus
     30extern "C" {
     31#endif
    3232
    3333/**
  • c/src/lib/libbsp/arm/gp32/include/bsp.h

    r3e739ae r46dde0fc  
    1717#define _BSP_H
    1818
    19 #ifdef __cplusplus
    20 extern "C" {
    21 #endif
    22 
    2319#include <bspopts.h>
    2420#include <bsp/default-initial-extension.h>
     
    2925#include <rtems/clockdrv.h>
    3026#include <s3c24xx.h>
     27
     28#ifdef __cplusplus
     29extern "C" {
     30#endif
    3131
    3232#define BSP_FEATURE_IRQ_EXTENSION
  • c/src/lib/libbsp/arm/gumstix/include/bsp.h

    r3e739ae r46dde0fc  
    1616#define _BSP_H
    1717
    18 #ifdef __cplusplus
    19 extern "C" {
    20 #endif
    21 
    2218#include <bspopts.h>
    2319#include <bsp/default-initial-extension.h>
     
    2622#include <rtems/console.h>
    2723#include <rtems/clockdrv.h>
     24
     25#ifdef __cplusplus
     26extern "C" {
     27#endif
    2828
    2929/**
  • c/src/lib/libbsp/arm/nds/include/bsp.h

    r3e739ae r46dde0fc  
    1111#define __BSP_H_
    1212
    13 #ifdef __cplusplus
    14 extern "C"
    15 {
    16 #endif
    17 
    1813#include <bspopts.h>
    1914#include <bsp/default-initial-extension.h>
     
    2318#include <rtems/console.h>
    2419#include <rtems/clockdrv.h>
     20
     21#ifdef __cplusplus
     22extern "C" {
     23#endif
    2524
    2625struct rtems_bsdnet_ifconfig;
  • c/src/lib/libbsp/arm/rtl22xx/include/bsp.h

    r3e739ae r46dde0fc  
    1717#define _BSP_H
    1818
    19 #ifdef __cplusplus
    20 extern "C" {
    21 #endif
    22 
    2319#include <bspopts.h>
    2420#include <bsp/default-initial-extension.h>
     
    3531#include <rtems/console.h>
    3632#include <rtems/clockdrv.h>
     33
     34#ifdef __cplusplus
     35extern "C" {
     36#endif
    3737
    3838#define BSP_FEATURE_IRQ_EXTENSION
  • c/src/lib/libbsp/avr/avrtest/include/bsp.h

    r3e739ae r46dde0fc  
    1515#define _BSP_H
    1616
    17 #ifdef __cplusplus
    18 extern "C" {
    19 #endif
    20 
    2117#include <bspopts.h>
    2218#include <bsp/default-initial-extension.h>
     
    2622#include <rtems/console.h>
    2723#include <rtems/clockdrv.h>
     24
     25#ifdef __cplusplus
     26extern "C" {
     27#endif
    2828
    2929/* support for simulated clock tick */
  • c/src/lib/libbsp/bfin/TLL6527M/include/bsp.h

    r3e739ae r46dde0fc  
    2020#ifndef ASM
    2121
    22 #ifdef __cplusplus
    23 extern "C" {
    24 #endif
    25 
    2622#include <bspopts.h>
    2723#include <bsp/default-initial-extension.h>
     
    3329#include <rtems/bfin/bf52x.h>
    3430#include <bf52x.h>
     31
     32#ifdef __cplusplus
     33extern "C" {
     34#endif
    3535
    3636/**
  • c/src/lib/libbsp/bfin/bf537Stamp/include/bsp.h

    r3e739ae r46dde0fc  
    1818#ifndef ASM
    1919
    20 #ifdef __cplusplus
    21 extern "C" {
    22 #endif
    23 
    2420#include <bspopts.h>
    2521#include <bsp/default-initial-extension.h>
     
    3127#include <libcpu/bf537.h>
    3228#include <libcpu/memoryRegs.h>
     29
     30#ifdef __cplusplus
     31extern "C" {
     32#endif
    3333
    3434/* configure data cache to use 16K of each SRAM bank when enabled */
  • c/src/lib/libbsp/bfin/eZKit533/include/bsp.h

    r3e739ae r46dde0fc  
    2626#include <libcpu/bf533.h>
    2727
    28 #ifdef __cplusplus
    29 extern "C" {
    30 #endif
    31 
    3228#include <bspopts.h>
    3329#include <bsp/default-initial-extension.h>
     
    3834#include <rtems/score/bfin.h>
    3935#include <rtems/bfin/bf533.h>
     36
     37#ifdef __cplusplus
     38extern "C" {
     39#endif
    4040
    4141/**
  • c/src/lib/libbsp/h8300/h8sim/include/bsp.h

    r3e739ae r46dde0fc  
    2222#define _BSP_H
    2323
    24 #ifdef __cplusplus
    25 extern "C" {
    26 #endif
    27 
    2824#include <bspopts.h>
    2925#include <bsp/default-initial-extension.h>
     
    3329#include <rtems/console.h>
    3430#include <rtems/clockdrv.h>
     31
     32#ifdef __cplusplus
     33extern "C" {
     34#endif
    3535
    3636/**
  • c/src/lib/libbsp/i386/pc386/include/bsp.h

    r3e739ae r46dde0fc  
    5050#ifndef ASM
    5151
    52 #ifdef __cplusplus
    53 extern "C" {
    54 #endif
    55 
    5652#include <bspopts.h>
    5753#include <bsp/default-initial-extension.h>
     
    6359#include <libcpu/cpu.h>
    6460#include <rtems/bspIo.h>
     61
     62#ifdef __cplusplus
     63extern "C" {
     64#endif
    6565
    6666/**
  • c/src/lib/libbsp/m32c/m32cbsp/include/bsp.h

    r3e739ae r46dde0fc  
    2323#define _BSP_H
    2424
    25 #ifdef __cplusplus
    26 extern "C" {
    27 #endif
    28 
    2925#include <bspopts.h>
    3026#include <bsp/default-initial-extension.h>
     
    3430#include <rtems/console.h>
    3531#include <rtems/clockdrv.h>
     32
     33#ifdef __cplusplus
     34extern "C" {
     35#endif
    3636
    3737/**
  • c/src/lib/libbsp/m32r/m32rsim/include/bsp.h

    r3e739ae r46dde0fc  
    2323#define _BSP_H
    2424
    25 #ifdef __cplusplus
    26 extern "C" {
    27 #endif
    28 
    2925#include <bspopts.h>
    3026#include <bsp/default-initial-extension.h>
     
    3430#include <rtems/console.h>
    3531#include <rtems/clockdrv.h>
     32
     33#ifdef __cplusplus
     34extern "C" {
     35#endif
    3636
    3737/**
  • c/src/lib/libbsp/m68k/av5282/include/bsp.h

    r3e739ae r46dde0fc  
    2424#ifndef ASM
    2525
    26 #ifdef __cplusplus
    27 extern "C" {
    28 #endif
    29 
    3026#include <bspopts.h>
    3127#include <bsp/default-initial-extension.h>
     
    4137/**  Hardware data structure headers                                      **/
    4238#include <mcf5282/mcf5282.h>   /* internal MCF5282 modules */
     39
     40#ifdef __cplusplus
     41extern "C" {
     42#endif
    4343
    4444/***************************************************************************/
  • c/src/lib/libbsp/m68k/csb360/include/bsp.h

    r3e739ae r46dde0fc  
    118118#ifndef ASM
    119119
    120 #ifdef __cplusplus
    121 extern "C" {
    122 #endif
    123 
    124120#include <bspopts.h>
    125121#include <rtems.h>
     
    128124#include <rtems/clockdrv.h>
    129125#include <bsp/default-initial-extension.h>
     126
     127#ifdef __cplusplus
     128extern "C" {
     129#endif
    130130
    131131struct rtems_bsdnet_ifconfig;
  • c/src/lib/libbsp/m68k/gen68302/include/bsp.h

    r3e739ae r46dde0fc  
    1919#define _BSP_H
    2020
    21 #ifdef __cplusplus
    22 extern "C" {
    23 #endif
    24 
    2521#include <bspopts.h>
    2622#include <bsp/default-initial-extension.h>
     
    3026#include <rtems/iosupp.h>
    3127#include <rtems/clockdrv.h>
     28
     29#ifdef __cplusplus
     30extern "C" {
     31#endif
    3232
    3333/**
  • c/src/lib/libbsp/m68k/gen68340/include/bsp.h

    r3e739ae r46dde0fc  
    2929#ifndef ASM
    3030
    31 #ifdef __cplusplus
    32 extern "C" {
    33 #endif
    34 
    3531#include <bspopts.h>
    3632#include <bsp/default-initial-extension.h>
     
    4036#include <rtems/iosupp.h>
    4137#include <rtems/clockdrv.h>
     38
     39#ifdef __cplusplus
     40extern "C" {
     41#endif
    4242
    4343/**
  • c/src/lib/libbsp/m68k/gen68360/include/bsp.h

    r3e739ae r46dde0fc  
    3232#define _BSP_H
    3333
    34 #ifdef __cplusplus
    35 extern "C" {
    36 #endif
    37 
    3834#include <bspopts.h>
    3935#include <bsp/default-initial-extension.h>
     
    4339#include <rtems/iosupp.h>
    4440#include <rtems/clockdrv.h>
     41
     42#ifdef __cplusplus
     43extern "C" {
     44#endif
    4545
    4646/**
  • c/src/lib/libbsp/m68k/genmcf548x/include/bsp.h

    r3e739ae r46dde0fc  
    5555#define __GENMCF548X_BSP_H
    5656
    57 #ifdef __cplusplus
    58 extern "C" {
    59 #endif
    6057#include <bspopts.h>
    6158#include <bsp/default-initial-extension.h>
     
    7976/**  Hardware data structure headers                                      **/
    8077#include <mcf548x/mcf548x.h>
     78
     79#ifdef __cplusplus
     80extern "C" {
     81#endif
    8182
    8283/***************************************************************************/
  • c/src/lib/libbsp/m68k/mcf5206elite/include/bsp.h

    r3e739ae r46dde0fc  
    118118#ifndef ASM
    119119
    120 #ifdef __cplusplus
    121 extern "C" {
    122 #endif
    123 
    124120#include <bspopts.h>
    125121#include <rtems.h>
     
    131127
    132128#include "i2c.h"
     129
     130#ifdef __cplusplus
     131extern "C" {
     132#endif
    133133
    134134/* System frequency */
  • c/src/lib/libbsp/m68k/mcf52235/include/bsp.h

    r3e739ae r46dde0fc  
    55#ifndef _BSP_H
    66#define _BSP_H
    7 
    8 #ifdef __cplusplus
    9 extern "C" {
    10 #endif
    117
    128#include <bspopts.h>
     
    2218/**  Hardware data structure headers                                      **/
    2319#include <mcf5223x/mcf5223x.h>
     20
     21#ifdef __cplusplus
     22extern "C" {
     23#endif
    2424
    2525/* Declare base address of peripherals area */
  • c/src/lib/libbsp/m68k/mcf5225x/include/bsp.h

    r3e739ae r46dde0fc  
    77#ifndef _BSP_H
    88#define _BSP_H
    9 
    10 #ifdef __cplusplus
    11 extern "C" {
    12 #endif
    139
    1410#include <bspopts.h>
     
    2420/**  Hardware data structure headers                                      **/
    2521#include <mcf5225x/mcf5225x.h>
    26    
     22
     23#ifdef __cplusplus
     24extern "C" {
     25#endif
     26
    2727/* Declare base address of peripherals area */
    2828#define __IPSBAR ((vuint8 *) 0x40000000)   
  • c/src/lib/libbsp/m68k/mcf5235/include/bsp.h

    r3e739ae r46dde0fc  
    55#ifndef _BSP_H
    66#define _BSP_H
    7 
    8 #ifdef __cplusplus
    9 extern "C" {
    10 #endif
    117
    128#include <bspopts.h>
     
    2218/**  Hardware data structure headers                                      **/
    2319#include <mcf5235/mcf5235.h>   /* internal MCF5235 modules */
     20
     21#ifdef __cplusplus
     22extern "C" {
     23#endif
    2424
    2525/***************************************************************************/
  • c/src/lib/libbsp/m68k/mcf5329/include/bsp.h

    r3e739ae r46dde0fc  
    55#ifndef _BSP_H
    66#define _BSP_H
    7 
    8 #ifdef __cplusplus
    9 extern "C" {
    10 #endif
    117
    128#include <bspopts.h>
     
    2218/**  Hardware data structure headers                                      **/
    2319#include <mcf532x/mcf532x.h>
     20
     21#ifdef __cplusplus
     22extern "C" {
     23#endif
    2424
    2525typedef volatile unsigned char vuint8;
  • c/src/lib/libbsp/m68k/mrm332/include/bsp.h

    r3e739ae r46dde0fc  
    1616#define _BSP_H
    1717
    18 #ifdef __cplusplus
    19 extern "C" {
    20 #endif
    21 
    2218#include <bspopts.h>
    2319#include <bsp/default-initial-extension.h>
     
    2925#include <rtems/iosupp.h>
    3026#include <mrm332.h>
     27
     28#ifdef __cplusplus
     29extern "C" {
     30#endif
    3131
    3232#define CONSOLE_SCI
  • c/src/lib/libbsp/m68k/mvme136/include/bsp.h

    r3e739ae r46dde0fc  
    1515#define _BSP_H
    1616
    17 #ifdef __cplusplus
    18 extern "C" {
    19 #endif
    20 
    2117#include <bspopts.h>
    2218#include <bsp/default-initial-extension.h>
     
    2622#include <rtems/console.h>
    2723#include <rtems/iosupp.h>
     24
     25#ifdef __cplusplus
     26extern "C" {
     27#endif
    2828
    2929/* Constants */
  • c/src/lib/libbsp/m68k/mvme147/include/bsp.h

    r3e739ae r46dde0fc  
    1818#define _BSP_H
    1919
    20 #ifdef __cplusplus
    21 extern "C" {
    22 #endif
    23 
    2420#include <bspopts.h>
    2521#include <bsp/default-initial-extension.h>
     
    2925#include <rtems/console.h>
    3026#include <rtems/iosupp.h>
     27
     28#ifdef __cplusplus
     29extern "C" {
     30#endif
    3131
    3232/* Constants */
  • c/src/lib/libbsp/m68k/mvme147s/include/bsp.h

    r3e739ae r46dde0fc  
    1818#define _BSP_H
    1919
    20 #ifdef __cplusplus
    21 extern "C" {
    22 #endif
    23 
    2420#include <bspopts.h>
    2521#include <bsp/default-initial-extension.h>
     
    2925#include <rtems/console.h>
    3026#include <rtems/iosupp.h>
     27
     28#ifdef __cplusplus
     29extern "C" {
     30#endif
    3131
    3232/* Constants */
  • c/src/lib/libbsp/m68k/mvme162/include/bsp.h

    r3e739ae r46dde0fc  
    2121#ifndef _BSP_H
    2222#define _BSP_H
    23 
    24 #ifdef __cplusplus
    25 extern "C" {
    26 #endif
    2723
    2824#include <bspopts.h>
     
    3531
    3632#include <mvme16x_hw.h>
     33
     34#ifdef __cplusplus
     35extern "C" {
     36#endif
    3737
    3838/*----------------------------------------------------------------*/
  • c/src/lib/libbsp/m68k/mvme167/include/bsp.h

    r3e739ae r46dde0fc  
    2323#define _BSP_H
    2424
    25 #ifdef __cplusplus
    26 extern "C" {
    27 #endif
    28 
    2925#include <bspopts.h>
    3026#include <bsp/default-initial-extension.h>
     
    3733
    3834#include <mvme16x_hw.h>
     35
     36#ifdef __cplusplus
     37extern "C" {
     38#endif
    3939
    4040/* GCSR is in mvme16x_hw.h */
  • c/src/lib/libbsp/m68k/ods68302/include/bsp.h

    r3e739ae r46dde0fc  
    1818#ifndef ASM
    1919
    20 #ifdef __cplusplus
    21 extern "C" {
    22 #endif
    23 
    2420#include <bspopts.h>
    2521#include <bsp/default-initial-extension.h>
     
    3026#include <rtems/clockdrv.h>
    3127#include <rtems/m68k/m68302.h>
     28
     29#ifdef __cplusplus
     30extern "C" {
     31#endif
    3232
    3333#ifndef VARIANT
  • c/src/lib/libbsp/m68k/sim68000/include/bsp.h

    r3e739ae r46dde0fc  
    1515#define __BSVC_SIM
    1616
    17 #ifdef __cplusplus
    18 extern "C" {
    19 #endif
    20 
    2117#include <bspopts.h>
    2218#include <bsp/default-initial-extension.h>
     
    2622#include <rtems/console.h>
    2723#include <rtems/clockdrv.h>
     24
     25#ifdef __cplusplus
     26extern "C" {
     27#endif
    2828
    2929/*
  • c/src/lib/libbsp/m68k/uC5282/include/bsp.h

    r3e739ae r46dde0fc  
    1515#define _BSP_H
    1616
    17 #ifdef __cplusplus
    18 extern "C" {
    19 #endif
    20 
    2117#include <bspopts.h>
    2218#include <bsp/default-initial-extension.h>
     
    2824#include <rtems/iosupp.h>
    2925#include <rtems/bspIo.h>
     26
     27#ifdef __cplusplus
     28extern "C" {
     29#endif
    3030
    3131/***************************************************************************/
  • c/src/lib/libbsp/mips/csb350/include/bsp.h

    r3e739ae r46dde0fc  
    1818#define _BSP_H
    1919
    20 #ifdef __cplusplus
    21 extern "C" {
    22 #endif
    23 
    2420#include <bspopts.h>
    2521#include <bsp/default-initial-extension.h>
     
    3026#include <rtems/clockdrv.h>
    3127#include <libcpu/au1x00.h>
     28
     29#ifdef __cplusplus
     30extern "C" {
     31#endif
    3232
    3333#define BSP_FEATURE_IRQ_EXTENSION
  • c/src/lib/libbsp/mips/genmongoosev/include/bsp.h

    r3e739ae r46dde0fc  
    1818#define _BSP_H
    1919
    20 #ifdef __cplusplus
    21 extern "C" {
    22 #endif
    23 
    2420#include <bspopts.h>
    2521#include <bsp/default-initial-extension.h>
     
    3026#include <rtems/clockdrv.h>
    3127#include <bsp/mongoose-v.h>
     28
     29#ifdef __cplusplus
     30extern "C" {
     31#endif
    3232
    3333#define BSP_FEATURE_IRQ_EXTENSION
  • c/src/lib/libbsp/mips/hurricane/include/bsp.h

    r3e739ae r46dde0fc  
    1717#ifndef ASM
    1818
    19 #ifdef __cplusplus
    20 extern "C" {
    21 #endif
    22 
    2319#include <bspopts.h>
    2420#include <bsp/default-initial-extension.h>
     
    2925#include <rtems/clockdrv.h>
    3026#include <libcpu/rm5231.h>
     27
     28#ifdef __cplusplus
     29extern "C" {
     30#endif
    3131
    3232extern void WriteDisplay( char * string );
  • c/src/lib/libbsp/mips/jmr3904/include/bsp.h

    r3e739ae r46dde0fc  
    1818#define _BSP_H
    1919
    20 #ifdef __cplusplus
    21 extern "C" {
    22 #endif
    23 
    2420#include <bspopts.h>
    2521#include <bsp/default-initial-extension.h>
     
    3127#include <libcpu/tx3904.h>
    3228
     29#ifdef __cplusplus
     30extern "C" {
     31#endif
     32
    3333#define BSP_FEATURE_IRQ_EXTENSION
    3434#define BSP_SHARED_HANDLER_SUPPORT      1
  • c/src/lib/libbsp/mips/malta/include/bsp.h

    r3e739ae r46dde0fc  
    2020#ifndef ASM
    2121
    22 #ifdef __cplusplus
    23 extern "C" {
    24 #endif
    25 
    2622#include <bspopts.h>
    2723#include <bsp/default-initial-extension.h>
     
    3127#include <rtems/console.h>
    3228#include <rtems/clockdrv.h>
     29
     30#ifdef __cplusplus
     31extern "C" {
     32#endif
    3333
    3434#define BSP_FEATURE_IRQ_EXTENSION
  • c/src/lib/libbsp/mips/rbtx4925/include/bsp.h

    r3e739ae r46dde0fc  
    1919#ifndef ASM
    2020
    21 #ifdef __cplusplus
    22 extern "C" {
    23 #endif
    24 
    2521#include <bspopts.h>
    2622#include <bsp/default-initial-extension.h>
     
    3127#include <rtems/clockdrv.h>
    3228#include <libcpu/tx4925.h>
     29
     30#ifdef __cplusplus
     31extern "C" {
     32#endif
    3333
    3434#define BSP_FEATURE_IRQ_EXTENSION
  • c/src/lib/libbsp/mips/rbtx4938/include/bsp.h

    r3e739ae r46dde0fc  
    1919#ifndef ASM
    2020
    21 #ifdef __cplusplus
    22 extern "C" {
    23 #endif
    24 
    2521#include <bspopts.h>
    2622#include <bsp/default-initial-extension.h>
     
    3127#include <rtems/clockdrv.h>
    3228#include <libcpu/tx4938.h>
     29
     30#ifdef __cplusplus
     31extern "C" {
     32#endif
    3333
    3434#define BSP_FEATURE_IRQ_EXTENSION
  • c/src/lib/libbsp/moxie/moxiesim/include/bsp.h

    r3e739ae r46dde0fc  
    1616#define _BSP_H
    1717
    18 #ifdef __cplusplus
    19 extern "C" {
    20 #endif
    21 
    2218#include <bspopts.h>
    2319
     
    2723#include <rtems/clockdrv.h>
    2824#include <bsp/default-initial-extension.h>
     25
     26#ifdef __cplusplus
     27extern "C" {
     28#endif
    2929
    3030/* support for simulated clock tick */
  • c/src/lib/libbsp/nios2/nios2_iss/include/bsp.h

    r3e739ae r46dde0fc  
    1616#define _BSP_H
    1717
    18 #ifdef __cplusplus
    19 extern "C" {
    20 #endif
    21 
    2218#include <stdint.h>
    2319#include <bspopts.h>
     
    2723#include <rtems/console.h>
    2824#include <rtems/clockdrv.h>
     25
     26#ifdef __cplusplus
     27extern "C" {
     28#endif
    2929
    3030/* ============================================ */
  • c/src/lib/libbsp/no_cpu/no_bsp/include/bsp.h

    r3e739ae r46dde0fc  
    1818#define _BSP_H
    1919
    20 #ifdef __cplusplus
    21 extern "C" {
    22 #endif
    23 
    2420#include <bspopts.h>
    2521#include <bsp/default-initial-extension.h>
     
    2824#include <rtems/console.h>
    2925#include <rtems/clockdrv.h>
     26
     27#ifdef __cplusplus
     28extern "C" {
     29#endif
    3030
    3131/* functions */
  • c/src/lib/libbsp/powerpc/gen5200/include/bsp.h

    r3e739ae r46dde0fc  
    142142#ifndef ASM
    143143
    144 #ifdef __cplusplus
    145 extern "C" {
    146 #endif
    147 
    148 
    149144#include <rtems.h>
    150145#include <rtems/console.h>
     
    156151#include <bsp/u-boot.h>
    157152#include <bsp/default-initial-extension.h>
     153
     154#ifdef __cplusplus
     155extern "C" {
     156#endif
    158157
    159158/*
  • c/src/lib/libbsp/powerpc/haleakala/include/bsp.h

    r3e739ae r46dde0fc  
    4646#define _BSP_H
    4747
    48 #ifdef __cplusplus
    49 extern "C" {
    50 #endif
    51 
    5248#include <bspopts.h>
    5349
     
    7066  #include <bsp/default-initial-extension.h>
    7167
     68  #ifdef __cplusplus
     69  extern "C" {
     70  #endif
     71
    7272  /* Network Defines */
    7373  #define RTEMS_BSP_NETWORK_DRIVER_NAME     "eth0"
     
    8484  #define BSP_UART_BAUD_BASE    (11059200 / 16)    /* Kilauea ext clock, max speed */
    8585
     86  #ifdef __cplusplus
     87  }
     88  #endif
    8689#endif /* ASM */
    8790
    88 #ifdef __cplusplus
    89 }
    90 #endif
    91 
    9291#endif /* BSP_H */
  • c/src/lib/libbsp/powerpc/mbx8xx/include/bsp.h

    r3e739ae r46dde0fc  
    1616#define _BSP_H
    1717
    18 #ifdef __cplusplus
    19 extern "C" {
    20 #endif
    21 
    2218#include <bspopts.h>
    2319#include <bsp/default-initial-extension.h>
     
    3127#include <mpc8xx/console.h>
    3228#include <bsp/vectors.h>
     29
     30#ifdef __cplusplus
     31extern "C" {
     32#endif
    3333
    3434/*
  • c/src/lib/libbsp/powerpc/mpc8260ads/include/bsp.h

    r3e739ae r46dde0fc  
    1515#define _BSP_H
    1616
    17 #ifdef __cplusplus
    18 extern "C" {
    19 #endif
    20 
    2117#include <bspopts.h>
    2218#include <bsp/default-initial-extension.h>
     
    3127#include <bsp/irq.h>
    3228#include <bsp/vectors.h>
     29
     30#ifdef __cplusplus
     31extern "C" {
     32#endif
    3333
    3434/*
  • c/src/lib/libbsp/powerpc/psim/include/bsp.h

    r3e739ae r46dde0fc  
    3131#define _BSP_H
    3232
    33 #ifdef __cplusplus
    34 extern "C" {
    35 #endif
    36 
    3733#include <bspopts.h>
    3834
     
    4945#include <bsp/vectors.h>
    5046#include <bsp/default-initial-extension.h>
     47
     48#ifdef __cplusplus
     49extern "C" {
     50#endif
    5151
    5252/* Constants */
     
    8383int BSP_connect_clock_handler(void);
    8484
     85#ifdef __cplusplus
     86}
     87#endif
     88
    8589#endif /* ASM */
    8690
    8791#define BSP_HAS_NO_VME
    8892
    89 #ifdef __cplusplus
    90 }
    9193#endif
    92 
    93 #endif
  • c/src/lib/libbsp/powerpc/qemuppc/include/bsp.h

    r3e739ae r46dde0fc  
    1818#ifndef ASM
    1919
    20 #ifdef __cplusplus
    21 extern "C" {
    22 #endif
    23 
    2420#include <bspopts.h>
    2521#include <bsp/default-initial-extension.h>
     
    2925#include <rtems/console.h>
    3026#include <rtems/clockdrv.h>
     27
     28#ifdef __cplusplus
     29extern "C" {
     30#endif
    3131
    3232/*
  • c/src/lib/libbsp/powerpc/score603e/include/bsp.h

    r3e739ae r46dde0fc  
    1414#ifndef _BSP_H
    1515#define _BSP_H
    16 
    17 #ifdef __cplusplus
    18 extern "C" {
    19 #endif
    2016
    2117#define BSP_ZERO_WORKSPACE_AUTOMATICALLY TRUE
     
    4541#include <gen2.h>
    4642#include <bsp/irq.h>
     43
     44#ifdef __cplusplus
     45extern "C" {
     46#endif
    4747
    4848/*
     
    191191int BSP_connect_clock_handler(void);
    192192
    193 #endif /* ASM */
    194 
    195193#ifdef __cplusplus
    196194}
    197195#endif
    198196
     197#endif /* ASM */
     198
    199199#endif
  • c/src/lib/libbsp/powerpc/ss555/include/bsp.h

    r3e739ae r46dde0fc  
    2222#ifndef ASM
    2323
    24 #ifdef __cplusplus
    25 extern "C" {
    26 #endif
    27 
    2824#include <bspopts.h>
    2925#include <bsp/default-initial-extension.h>
     
    3632#include <libcpu/vectors.h>
    3733#include <bsp/irq.h>
     34
     35#ifdef __cplusplus
     36extern "C" {
     37#endif
    3838
    3939/*
  • c/src/lib/libbsp/powerpc/virtex/include/bsp.h

    r3e739ae r46dde0fc  
    4242#define _BSP_H
    4343
    44 #ifdef __cplusplus
    45 extern "C" {
    46 #endif
    47 
    4844#include <bspopts.h>
    4945
     
    6157#include <bsp/vectors.h>
    6258#include <bsp/default-initial-extension.h>
     59
     60#ifdef __cplusplus
     61extern "C" {
     62#endif
    6363
    6464#define BSP_FEATURE_IRQ_EXTENSION
     
    7979#define RTEMS_BSP_NETWORK_DRIVER_ATTACH xilTemac_driver_attach
    8080
    81 #endif /* ASM */
    82 
    8381#ifdef __cplusplus
    8482}
    8583#endif
    8684
     85#endif /* ASM */
     86
    8787#endif
  • c/src/lib/libbsp/powerpc/virtex4/include/bsp.h

    r3e739ae r46dde0fc  
    4343#define _BSP_H
    4444
    45 #ifdef __cplusplus
    46 extern "C" {
    47 #endif
    48 
    4945#include <bspopts.h>
    5046
     
    6662
    6763#include <bsp/default-initial-extension.h>
     64
     65#ifdef __cplusplus
     66extern "C" {
     67#endif
    6868
    6969/* miscellaneous stuff assumed to exist */
  • c/src/lib/libbsp/powerpc/virtex5/include/bsp.h

    r3e739ae r46dde0fc  
    4444#define _BSP_H
    4545
    46 #ifdef __cplusplus
    47 extern "C" {
    48 #endif
    49 
    5046#include <bspopts.h>
    5147
     
    6662#include <rtems/iosupp.h>
    6763#include <bsp/default-initial-extension.h>
     64
     65#ifdef __cplusplus
     66extern "C" {
     67#endif
    6868
    6969/* miscellaneous stuff assumed to exist */
  • c/src/lib/libbsp/sh/gensh1/include/bsp.h

    r3e739ae r46dde0fc  
    2626#define _BSP_H
    2727
    28 #ifdef __cplusplus
    29 extern "C" {
    30 #endif
    31 
    3228#include <rtems.h>
    3329#include <rtems/clockdrv.h>
     
    3632#include <bspopts.h>
    3733#include <bsp/default-initial-extension.h>
     34
     35#ifdef __cplusplus
     36extern "C" {
     37#endif
    3838
    3939/* EDIT: To activate the sci driver, change the define below */
  • c/src/lib/libbsp/sh/gensh2/include/bsp.h

    r3e739ae r46dde0fc  
    3737#define _BSP_H
    3838
    39 #ifdef __cplusplus
    40 extern "C" {
    41 #endif
    42 
    4339#include <rtems.h>
    4440#include <rtems/clockdrv.h>
     
    5147
    5248#include <sh/sci.h>
     49
     50#ifdef __cplusplus
     51extern "C" {
     52#endif
    5353
    5454#if 1
  • c/src/lib/libbsp/sh/gensh4/include/bsp.h

    r3e739ae r46dde0fc  
    4141#define _BSP_H
    4242
    43 #ifdef __cplusplus
    44 extern "C" {
    45 #endif
    46 
    4743#include <rtems.h>
    4844#include <rtems/clockdrv.h>
     
    5349
    5450#include "rtems/score/sh7750_regs.h"
     51
     52#ifdef __cplusplus
     53extern "C" {
     54#endif
    5555
    5656/* Constants */
  • c/src/lib/libbsp/sh/shsim/include/bsp.h

    r3e739ae r46dde0fc  
    2727#ifndef ASM
    2828
    29 #ifdef __cplusplus
    30 extern "C" {
    31 #endif
    32 
    3329#include <rtems.h>
    3430#include <rtems/clockdrv.h>
     
    4238 */
    4339#include <rtems/devnull.h>
     40
     41#ifdef __cplusplus
     42extern "C" {
     43#endif
    4444
    4545/* Constants */
  • c/src/lib/libbsp/sparc/erc32/include/bsp.h

    r3e739ae r46dde0fc  
    2626#define _BSP_H
    2727
    28 #ifdef __cplusplus
    29 extern "C" {
    30 #endif
    31 
    3228#include <bspopts.h>
    3329#include <bsp/default-initial-extension.h>
     
    3935#include <rtems/console.h>
    4036#include <rtems/irq-extension.h>
     37
     38#ifdef __cplusplus
     39extern "C" {
     40#endif
    4141
    4242/**
  • c/src/lib/libbsp/sparc/leon2/include/bsp.h

    r3e739ae r46dde0fc  
    2828#ifndef _BSP_H
    2929#define _BSP_H
    30 
    31 #ifdef __cplusplus
    32 extern "C" {
    33 #endif
    3430
    3531#include <bspopts.h>
     
    4137#include <rtems/console.h>
    4238#include <rtems/irq-extension.h>
     39
     40#ifdef __cplusplus
     41extern "C" {
     42#endif
    4343
    4444/**
  • c/src/lib/libbsp/sparc/leon3/include/bsp.h

    r3e739ae r46dde0fc  
    2828#ifndef _BSP_H
    2929#define _BSP_H
    30 
    31 #ifdef __cplusplus
    32 extern "C" {
    33 #endif
    3430
    3531#include <bspopts.h>
     
    4137#include <rtems/console.h>
    4238#include <rtems/irq-extension.h>
     39
     40#ifdef __cplusplus
     41extern "C" {
     42#endif
    4343
    4444/**
  • c/src/lib/libbsp/sparc64/niagara/include/bsp.h

    r3e739ae r46dde0fc  
    2020#define _BSP_H
    2121
    22 #ifdef __cplusplus
    23 extern "C" {
    24 #endif
    25 
    2622#include <bspopts.h>
    2723#include <bsp/default-initial-extension.h>
     
    3127#include <rtems/console.h>
    3228#include <rtems/clockdrv.h>
     29
     30#ifdef __cplusplus
     31extern "C" {
     32#endif
    3333
    3434/* support for simulated clock tick */
  • c/src/lib/libbsp/sparc64/usiii/include/bsp.h

    r3e739ae r46dde0fc  
    2222#define _BSP_H
    2323
    24 #ifdef __cplusplus
    25 extern "C" {
    26 #endif
    27 
    2824#include <bspopts.h>
    2925#include <bsp/default-initial-extension.h>
     
    3329#include <rtems/console.h>
    3430#include <rtems/clockdrv.h>
     31
     32#ifdef __cplusplus
     33extern "C" {
     34#endif
    3535
    3636/* support for simulated clock tick */
  • c/src/lib/libbsp/v850/gdbv850sim/include/bsp.h

    r3e739ae r46dde0fc  
    1616#define _BSP_H
    1717
    18 #ifdef __cplusplus
    19 extern "C" {
    20 #endif
    21 
    2218#include <bspopts.h>
    2319#include <bsp/default-initial-extension.h>
     
    2723#include <rtems/console.h>
    2824#include <rtems/clockdrv.h>
     25
     26#ifdef __cplusplus
     27extern "C" {
     28#endif
    2929
    3030/* support for simulated clock tick */
Note: See TracChangeset for help on using the changeset viewer.