diff options
Diffstat (limited to 'include/drvmgr/bspcommon.h')
-rw-r--r-- | include/drvmgr/bspcommon.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/include/drvmgr/bspcommon.h b/include/drvmgr/bspcommon.h new file mode 100644 index 0000000000..d3470009f8 --- /dev/null +++ b/include/drvmgr/bspcommon.h @@ -0,0 +1,28 @@ +/* Common BSP/driver configuration routines. + * + * COPYRIGHT (c) 2015. + * Cobham Gaisler. + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + * + */ + +#ifndef __BSPCOMMON_H__ +#define __BSPCOMMON_H__ + +#include <drvmgr/drvmgr.h> + +#ifdef __cplusplus +extern "C" { +#endif + +/* Count driver resource array length. Array must be terminated with a NULL */ +int get_resarray_count(struct drvmgr_bus_res **array); + +#ifdef __cplusplus +} +#endif + +#endif |