diff options
Diffstat (limited to 'c/src/lib/libbsp/unix/posix/startup/bspstart.c')
-rw-r--r-- | c/src/lib/libbsp/unix/posix/startup/bspstart.c | 36 |
1 files changed, 15 insertions, 21 deletions
diff --git a/c/src/lib/libbsp/unix/posix/startup/bspstart.c b/c/src/lib/libbsp/unix/posix/startup/bspstart.c index 4e0955e32a..71d85409ca 100644 --- a/c/src/lib/libbsp/unix/posix/startup/bspstart.c +++ b/c/src/lib/libbsp/unix/posix/startup/bspstart.c @@ -128,7 +128,7 @@ void bsp_start(void) unsigned32 workspace_ptr; /* - * Copy the table + * Copy the table (normally done in shared main). */ BSP_Configuration = Configuration; @@ -214,28 +214,22 @@ void bsp_start(void) Cpu_table.extra_mpci_receive_server_stack = 0; - /* - * Tell libio how many fd's we want and allow it to tweak config - */ - - rtems_libio_config(&BSP_Configuration, BSP_LIBIO_MAX_FDS); - - /* - * Add 1 extension for MPCI_fatal - */ + /* + * Add 1 extension for MPCI_fatal + */ - if (BSP_Configuration.User_multiprocessing_table) - BSP_Configuration.maximum_extensions++; + if (BSP_Configuration.User_multiprocessing_table) + BSP_Configuration.maximum_extensions++; - CPU_CLICKS_PER_TICK = 1; + CPU_CLICKS_PER_TICK = 1; - /* - * Start most of RTEMS - * main() will start the rest - */ + /* + * Start most of RTEMS + * main() will start the rest + */ - bsp_isr_level = rtems_initialize_executive_early( - &BSP_Configuration, - &Cpu_table - ); + bsp_isr_level = rtems_initialize_executive_early( + &BSP_Configuration, + &Cpu_table + ); } |