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 | * Copyright (c) 2008 by Matthieu Bucchianeri <mbucchia@gmail.com> |
---|
3 | * |
---|
4 | * The license and distribution terms for this file may be |
---|
5 | * found in the file LICENSE in this distribution or at |
---|
6 | * |
---|
7 | * http://www.rtems.org/license/LICENSE |
---|
8 | */ |
---|
9 | |
---|
10 | #ifndef __BSP_H_ |
---|
11 | #define __BSP_H_ |
---|
12 | |
---|
13 | #include <bspopts.h> |
---|
14 | #include <bsp/default-initial-extension.h> |
---|
15 | #include <rtems.h> |
---|
16 | #include <rtems/iosupp.h> |
---|
17 | #include <rtems/bspIo.h> |
---|
18 | #include <rtems/console.h> |
---|
19 | #include <rtems/clockdrv.h> |
---|
20 | |
---|
21 | #ifdef __cplusplus |
---|
22 | extern "C" { |
---|
23 | #endif |
---|
24 | |
---|
25 | struct rtems_bsdnet_ifconfig; |
---|
26 | |
---|
27 | int rtems_wifi_driver_attach (struct rtems_bsdnet_ifconfig *config, |
---|
28 | int attach); |
---|
29 | |
---|
30 | #define RTEMS_BSP_NETWORK_DRIVER_NAME "dswifi0" |
---|
31 | #define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_wifi_driver_attach |
---|
32 | |
---|
33 | #define RTC_DRIVER_TABLE_ENTRY \ |
---|
34 | { rtc_initialize, NULL, NULL, NULL, NULL, NULL } |
---|
35 | extern rtems_device_driver rtc_initialize (rtems_device_major_number major, |
---|
36 | rtems_device_minor_number minor, |
---|
37 | void *arg); |
---|
38 | |
---|
39 | #ifdef __cplusplus |
---|
40 | } |
---|
41 | #endif |
---|
42 | |
---|
43 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.