forked from Imagelibrary/rtems
DRVMGR: added driver manager to cpukit/libdrvmgr
This commit is contained in:
12
c/src/aclocal/enable-drvmgr.m4
Normal file
12
c/src/aclocal/enable-drvmgr.m4
Normal file
@@ -0,0 +1,12 @@
|
||||
AC_DEFUN([RTEMS_ENABLE_DRVMGR],
|
||||
[
|
||||
## AC_BEFORE([$0], [RTEMS_CHECK_DRVMGR_STARTUP])dnl
|
||||
|
||||
AC_ARG_ENABLE(drvmgr,
|
||||
[AS_HELP_STRING([--enable-drvmgr],[enable Driver Manager at Startup])],
|
||||
[case "${enableval}" in
|
||||
yes) RTEMS_DRVMGR_STARTUP=yes ;;
|
||||
no) RTEMS_DRVMGR_STARTUP=no ;;
|
||||
*) AC_MSG_ERROR(bad value ${enableval} for enable-drvmgr option) ;;
|
||||
esac],[RTEMS_DRVMGR_STARTUP=yes])
|
||||
])
|
||||
16
c/src/lib/libbsp/shared/bspdriverlevelhook.c
Normal file
16
c/src/lib/libbsp/shared/bspdriverlevelhook.c
Normal file
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
* This is a dummy bsp_driver_level_hook routine.
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <bsp/bootcard.h>
|
||||
|
||||
void bsp_driver_level_hook( int level )
|
||||
{
|
||||
}
|
||||
@@ -57,6 +57,8 @@ void bsp_pretasking_hook(void);
|
||||
|
||||
void bsp_predriver_hook(void);
|
||||
|
||||
void bsp_driver_level_hook( int level );
|
||||
|
||||
void bsp_postdriver_hook(void);
|
||||
|
||||
void bsp_reset(void);
|
||||
|
||||
@@ -20,6 +20,7 @@ RTEMS_ENABLE_MULTIPROCESSING
|
||||
RTEMS_ENABLE_POSIX
|
||||
RTEMS_ENABLE_NETWORKING
|
||||
RTEMS_ENABLE_CXX
|
||||
RTEMS_ENABLE_DRVMGR
|
||||
|
||||
RTEMS_ENV_RTEMSBSP
|
||||
|
||||
|
||||
Reference in New Issue
Block a user