summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi/src/exinit.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-01-26 09:28:11 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-02-03 10:00:57 +0100
commit6bf44a581b35aba967034bc3e0348a4d1f36a048 (patch)
treeae2aeeadbcb930f1e998c9b8c8013c9d08f9c64c /cpukit/sapi/src/exinit.c
parentUse linker set for libio initialization (diff)
downloadrtems-6bf44a581b35aba967034bc3e0348a4d1f36a048.tar.bz2
Use linker set for driver manager initialization
Update #2408.
Diffstat (limited to 'cpukit/sapi/src/exinit.c')
-rw-r--r--cpukit/sapi/src/exinit.c58
1 files changed, 0 insertions, 58 deletions
diff --git a/cpukit/sapi/src/exinit.c b/cpukit/sapi/src/exinit.c
index 148268971c..dca42d65bf 100644
--- a/cpukit/sapi/src/exinit.c
+++ b/cpukit/sapi/src/exinit.c
@@ -51,10 +51,6 @@
#include <rtems/sptables.h>
-#ifdef RTEMS_DRVMGR_STARTUP
- #include <drvmgr/drvmgr.h>
-#endif
-
static Objects_Information *
_Internal_Objects[ OBJECTS_INTERNAL_CLASSES_LAST + 1 ];
@@ -129,10 +125,6 @@ static void rtems_initialize_data_structures(void)
static void rtems_initialize_before_drivers(void)
{
- #ifdef RTEMS_DRVMGR_STARTUP
- _DRV_Manager_initialization();
- #endif
-
#if defined(RTEMS_MULTIPROCESSING)
_MPCI_Create_server();
#endif
@@ -146,28 +138,6 @@ static void rtems_initialize_device_drivers(void)
* NOTE: The MPCI may be build upon a device driver.
*/
- #ifdef RTEMS_DRVMGR_STARTUP
- /* BSPs has already registered their "root bus" driver in the
- * bsp_predriver hook or so.
- *
- * Init Drivers to Level 1, constraints:
- * - Interrupts and system clock timer does not work.
- * - malloc() work, however other memory services may not
- * have been initialized yet.
- * - initializes most basic stuff
- *
- * Typical setup in Level 1:
- * - Find most devices in system, do PCI scan and configuration.
- * - Reset hardware if needed.
- * - Install IRQ driver
- * - Install Timer driver
- * - Install console driver and debug printk()
- * - Install extra memory.
- */
- _DRV_Manager_init_level(1);
- bsp_driver_level_hook(1);
- #endif
-
/* Initialize I/O drivers.
*
* Driver Manager note:
@@ -176,34 +146,6 @@ static void rtems_initialize_device_drivers(void)
*/
_IO_Initialize_all_drivers();
- #ifdef RTEMS_DRVMGR_STARTUP
- /* Init Drivers to Level 2, constraints:
- * - Interrupts can be registered and enabled.
- * - System Clock is running
- * - Console may be used.
- *
- * This is typically where drivers are initialized
- * for the first time.
- */
- _DRV_Manager_init_level(2);
- bsp_driver_level_hook(2);
-
- /* Init Drivers to Level 3
- *
- * This is typically where normal drivers are initialized
- * for the second time, they may depend on other drivers
- * API inited in level 2
- */
- _DRV_Manager_init_level(3);
- bsp_driver_level_hook(3);
-
- /* Init Drivers to Level 4,
- * Init drivers that depend on services initialized in Level 3
- */
- _DRV_Manager_init_level(4);
- bsp_driver_level_hook(4);
- #endif
-
#if defined(RTEMS_MULTIPROCESSING)
if ( _System_state_Is_multiprocessing ) {
_MPCI_Initialization();