source: rtems/cpukit/libdrvmgr/drvmgr_init.c @ 65d1f35

4.115
Last change on this file since 65d1f35 was 65d1f35, checked in by Daniel Hellstrom <daniel@…>, on 02/27/15 at 15:42:36

DRVMGR: updated copyright into one line only

  • Property mode set to 100644
File size: 598 bytes
Line 
1/* Driver Manager Initialization
2 *
3 * COPYRIGHT (c) 2009 Cobham Gaisler AB.
4 *
5 * The license and distribution terms for this file may be
6 * found in the file LICENSE in this distribution or at
7 * http://www.rtems.com/license/LICENSE.
8 */
9
10#include <drvmgr/drvmgr.h>
11
12/* Init driver manager - all in one go. Typically called from Init task when
13 * user wants to initilize driver manager after startup, otherwise not used.
14 */
15int drvmgr_init(void)
16{
17        int level;
18
19        _DRV_Manager_initialization();
20
21        for (level = 1; level <= DRVMGR_LEVEL_MAX; level++)
22                _DRV_Manager_init_level(level);
23
24        return 0;
25}
Note: See TracBrowser for help on using the repository browser.