RTEMS  5.1
bspcommon.h
1 /* Common BSP/driver configuration routines.
2  *
3  * COPYRIGHT (c) 2015.
4  * Cobham Gaisler.
5  *
6  * The license and distribution terms for this file may be
7  * found in the file LICENSE in this distribution or at
8  * http://www.rtems.org/license/LICENSE.
9  *
10  */
11 
12 #ifndef __BSPCOMMON_H__
13 #define __BSPCOMMON_H__
14 
15 #include <drvmgr/drvmgr.h>
16 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 
21 /* Count driver resource array length. Array must be terminated with a NULL */
22 int get_resarray_count(struct drvmgr_bus_res **array);
23 
24 #ifdef __cplusplus
25 }
26 #endif
27 
28 #endif
Definition: drvmgr.h:214