4.115
Last change
on this file since e7fade3 was
e7fade3,
checked in by Daniel Hellstrom <daniel@…>, on 11/28/11 at 08:52:03
|
DRVMGR: added driver manager to cpukit/libdrvmgr
|
-
Property mode set to
100644
|
File size:
602 bytes
|
Line | |
---|
1 | /* Driver Manager Initialization |
---|
2 | * |
---|
3 | * COPYRIGHT (c) 2009. |
---|
4 | * Cobham Gaisler AB. |
---|
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.com/license/LICENSE. |
---|
9 | */ |
---|
10 | |
---|
11 | #include <drvmgr/drvmgr.h> |
---|
12 | |
---|
13 | /* Init driver manager - all in one go. Typically called from Init task when |
---|
14 | * user wants to initilize driver manager after startup, otherwise not used. |
---|
15 | */ |
---|
16 | int drvmgr_init(void) |
---|
17 | { |
---|
18 | int level; |
---|
19 | |
---|
20 | _DRV_Manager_initialization(); |
---|
21 | |
---|
22 | for (level = 1; level <= DRVMGR_LEVEL_MAX; level++) |
---|
23 | _DRV_Manager_init_level(level); |
---|
24 | |
---|
25 | return 0; |
---|
26 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.