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:
918 bytes
|
Line | |
---|
1 | /* bsp.h |
---|
2 | * |
---|
3 | * This include file contains all board IO definitions. |
---|
4 | * |
---|
5 | * XXX : put yours in here |
---|
6 | */ |
---|
7 | |
---|
8 | /* |
---|
9 | * COPYRIGHT (c) 1989-1999. |
---|
10 | * On-Line Applications Research Corporation (OAR). |
---|
11 | * |
---|
12 | * The license and distribution terms for this file may be |
---|
13 | * found in the file LICENSE in this distribution or at |
---|
14 | * http://www.rtems.org/license/LICENSE. |
---|
15 | */ |
---|
16 | |
---|
17 | #ifndef _BSP_H |
---|
18 | #define _BSP_H |
---|
19 | |
---|
20 | #include <bspopts.h> |
---|
21 | #include <bsp/default-initial-extension.h> |
---|
22 | |
---|
23 | #include <rtems.h> |
---|
24 | #include <rtems/console.h> |
---|
25 | #include <rtems/clockdrv.h> |
---|
26 | |
---|
27 | #ifdef __cplusplus |
---|
28 | extern "C" { |
---|
29 | #endif |
---|
30 | |
---|
31 | /* functions */ |
---|
32 | |
---|
33 | rtems_isr_entry set_vector( /* returns old vector */ |
---|
34 | rtems_isr_entry handler, /* isr routine */ |
---|
35 | rtems_vector_number vector, /* vector number */ |
---|
36 | int type /* RTEMS or RAW intr */ |
---|
37 | ); |
---|
38 | |
---|
39 | #ifdef __cplusplus |
---|
40 | } |
---|
41 | #endif |
---|
42 | |
---|
43 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.