From 3bc12a8f5ade29161ca356f60f79c2283ebf2f5c Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 26 Jan 2016 11:16:56 +0100 Subject: Delete unused API extensions --- cpukit/sapi/src/exinit.c | 34 ++++++++-------------------------- 1 file changed, 8 insertions(+), 26 deletions(-) (limited to 'cpukit/sapi/src/exinit.c') diff --git a/cpukit/sapi/src/exinit.c b/cpukit/sapi/src/exinit.c index a52a546fbb..77633a269a 100644 --- a/cpukit/sapi/src/exinit.c +++ b/cpukit/sapi/src/exinit.c @@ -30,10 +30,10 @@ #include #include #include +#include #include #include -#include #include #include #include @@ -95,30 +95,6 @@ static void rtems_initialize_data_structures(void) _SMP_Handler_initialize(); } -static void rtems_initialize_device_drivers(void) -{ - /* - * Initialize all the device drivers and initialize the MPCI layer. - * - * NOTE: The MPCI may be build upon a device driver. - */ - - /* Initialize I/O drivers. - * - * Driver Manager note: - * All drivers may not be registered yet. Drivers will dynamically - * be initialized when registered in level 2,3 and 4. - */ - _IO_Initialize_all_drivers(); - - /* - * Run the APIs and BSPs postdriver hooks. - * - * The API extensions are supposed to create user initialization tasks. - */ - _API_extensions_Run_postdriver(); -} - RTEMS_LINKER_ROSET( _Sysinit, rtems_sysinit_item ); RTEMS_SYSINIT_ITEM( @@ -142,8 +118,14 @@ RTEMS_SYSINIT_ITEM( RTEMS_SYSINIT_ORDER_MIDDLE ); +/* Initialize I/O drivers. + * + * Driver Manager note: + * All drivers may not be registered yet. Drivers will dynamically + * be initialized when registered in level 2,3 and 4. + */ RTEMS_SYSINIT_ITEM( - rtems_initialize_device_drivers, + _IO_Initialize_all_drivers, RTEMS_SYSINIT_DEVICE_DRIVERS, RTEMS_SYSINIT_ORDER_MIDDLE ); -- cgit v1.2.3