4.115
Rev | Line | |
---|
[e7fade3] | 1 | /* Driver Manager Initialization |
---|
| 2 | * |
---|
[65d1f35] | 3 | * COPYRIGHT (c) 2009 Cobham Gaisler AB. |
---|
[e7fade3] | 4 | * |
---|
| 5 | * The license and distribution terms for this file may be |
---|
| 6 | * found in the file LICENSE in this distribution or at |
---|
[0decc806] | 7 | * http://www.rtems.org/license/LICENSE. |
---|
[e7fade3] | 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 | */ |
---|
| 15 | int 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.