diff options
Diffstat (limited to 'cpukit/sapi/src/io.c')
-rw-r--r-- | cpukit/sapi/src/io.c | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/cpukit/sapi/src/io.c b/cpukit/sapi/src/io.c index bd5cd4f0ec..c3cdf6ea7f 100644 --- a/cpukit/sapi/src/io.c +++ b/cpukit/sapi/src/io.c @@ -1,7 +1,7 @@ /* * Input/Output Manager - Initialize Device Driver Subsystem * - * COPYRIGHT (c) 1989-2007. + * COPYRIGHT (c) 1989-2008. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -16,6 +16,7 @@ #endif #include <rtems/system.h> +#include <rtems/config.h> #include <rtems/io.h> #include <rtems/score/isr.h> #include <rtems/score/thread.h> @@ -32,13 +33,16 @@ * */ -void _IO_Manager_initialization( - rtems_driver_address_table *driver_table, - uint32_t drivers_in_table, - uint32_t number_of_drivers -) +void _IO_Manager_initialization(void) { - uint32_t index; + uint32_t index; + rtems_driver_address_table *driver_table; + uint32_t drivers_in_table; + uint32_t number_of_drivers; + + driver_table = Configuration.Device_driver_table; + drivers_in_table = Configuration.number_of_device_drivers; + number_of_drivers = Configuration.maximum_drivers; /* * If the user claims there are less drivers than are actually in |