summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/i386/pc386/startup
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-04-15 20:50:31 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-04-15 20:50:31 +0000
commitbd9c3d1e76df8b4e774f50dbaf1bd5ebeeb7a154 (patch)
treea5409842b20b5263d7b14910033e728927dd4d41 /c/src/lib/libbsp/i386/pc386/startup
parentTransitioned to shared bsp_libc_init() and cleaned up comments. (diff)
downloadrtems-bd9c3d1e76df8b4e774f50dbaf1bd5ebeeb7a154.tar.bz2
Numerous changes which in total greatly reduced the amount of source
code in each BSP's bspstart.c. These changes were: + confdefs.h now knows libio's semaphore requirements + shared/main.c now copies Configuration to BSP_Configuration + shared/main.c fills in the Cpu_table with default values This removed the need for rtems_libio_config() and the constant BSP_LIBIO_MAX_FDS in every BSP. Plus now the maximum number of open files can now be set on the gcc command line.
Diffstat (limited to 'c/src/lib/libbsp/i386/pc386/startup')
-rw-r--r--c/src/lib/libbsp/i386/pc386/startup/bspstart.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/c/src/lib/libbsp/i386/pc386/startup/bspstart.c b/c/src/lib/libbsp/i386/pc386/startup/bspstart.c
index 773d3ba804..305545dee0 100644
--- a/c/src/lib/libbsp/i386/pc386/startup/bspstart.c
+++ b/c/src/lib/libbsp/i386/pc386/startup/bspstart.c
@@ -118,33 +118,8 @@ void bsp_start( void )
Cpu_table.interrupt_stack_size = 4096;
Cpu_table.extra_mpci_receive_server_stack = 0;
- /* Copy user's table and make necessary adjustments. */
-
- BSP_Configuration = Configuration;
-
/* Place RTEMS workspace at top of physical RAM (RAM_END defined in 'bsp.h' */
BSP_Configuration.work_space_start =
(void *)(RAM_END - BSP_Configuration.work_space_size);
-
- /* Tell libio how many fd's we want and allow it to tweak config. */
-
- rtems_libio_config(&BSP_Configuration, BSP_LIBIO_MAX_FDS);
-
-#if 0
- rtems_initialize_executive(&BSP_Configuration, &Cpu_table);
- /* does not return */
-
- /*-------------------------------------------------------------------------+
- | We only return here if the executive has finished. This happens when the
- | task has called exit(). We will then call _exit() which is part of the bsp.
- +--------------------------------------------------------------------------*/
-
- for (;;)
- _exit(0);
-
- /* no cleanup necessary for PC386 */
-
- return 0;
-#endif
} /* bsp_start */