summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sh/gensh4/startup/bspstart.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2008-09-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-151-115/+0
| | | | | | | | | * Makefile.am, configure.ac, include/bsp.h, startup/linkcmds: Use shared bsp_get_work_area() in its own file and rely on BSP Framework to perform more initialization. After factoring this out, it turned out that all SuperH BSPs has the same bsp_start() implementation so this was made shared. * startup/bspstart.c: Removed.
* 2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-05-151-4/+0
| | | | | | | | | | | | | | * startup/bspstart.c: Add capability for bootcard.c BSP Initialization Framework to ask the BSP where it has memory for the RTEMS Workspace and C Program Heap. These collectively are referred to as work area. If the BSP supports this, then it does not have to include code to split the available memory between the two areas. This reduces the amount of code in the BSP specific bspstart.c file. Additionally, the shared framework can initialize the C Library, call rtems_debug_enable(), and dirty the work area memory. Until most/all BSPs support this new capability, if the BSP supports this, it should call RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from its configure.ac. When the transition is complete, this autoconf macro can be removed.
* 2008-05-12 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-05-121-1/+0
| | | | | | | | | | | | * startup/bspstart.c: Refactored and renamed initialization routines to rtems_initialize_data_structures, rtems_initialize_before_drivers, rtems_initialize_device_drivers, and rtems_initialize_start_multitasking. This opened the sequence up so that bootcard() could provide a more robust and flexible framework which is easier to explain and understand. This also lays the groundwork for sharing the division of available memory between the RTEMS workspace and heap and the C library initialization across all BSPs.
* 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-111-10/+2
| | | | | | * include/bsp.h, startup/bspstart.c: Eliminate copies of the Configuration Table. Use the RTEMS provided accessor macros to obtain configuration fields.
* 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-041-14/+3
| | | | | | * include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field from CPU Table to Configuration Table. Eliminate CPU Table from all ports. Delete references to CPU Table in all forms.
* 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-031-3/+0
| | | | | | | | | | * Makefile.am, startup/bspstart.c: Moved most of the remaining CPU Table fields to the Configuration Table. This included pretasking_hook, predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace, extra_mpci_receive_server_stack, stack_allocate_hook, and stack_free_hook. As a side-effect of this effort some multiprocessing code was made conditional and some style clean up occurred.
* 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-11-261-1/+3
| | | | | | * startup/bspstart.c: Eliminate the clicks_per_microsecond field in the SuperH CPU Table and define another mechanism for drivers to obtain this information.
* Remove duplicate white lines.Ralf Corsepius2004-04-211-1/+0
|
* Remove stray white spaces.Ralf Corsepius2004-04-161-12/+12
|
* 2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-03-311-5/+5
| | | | | * include/bsp.h, startup/bspstart.c: Convert to using c99 fixed size types.
* 2003-09-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2003-09-041-1/+1
| | | | | | | * console/console.c, hw_init/hw_init.c, include/bsp.h, include/coverhd.h, include/sdram.h, start/start.S, startup/bspstart.c, startup/linkcmds, startup/linkcmds.rom, startup/linkcmds.rom2ram: URL for license changed.
* 2002-09-14 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-09-141-1/+1
| | | | | * startup/bspstart.c: As part of fixing PR281 on gensh4, a review of all calls to bsp_libc_init() resulted in some cleanup here.
* 2001-10-26 Alexandra Kossovsky <sasha@oktet.ru>Joel Sherrill2001-10-261-7/+0
| | | | | * README, console/console.c, hw_init/hw_init.c, include/bsp.h, startup/bspstart.c, startup/linkcmds: Minor fixes post merge.
* 2001-10-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-10-151-0/+2
| | | | | | | | | | | | | | | * configure.ac: Remove AC_SUBST(CPU_CLOCK_RATE_HZ), add START_HW_INIT-support macros, add console/Makefile. * Makefile.am: Add console SUBDIR. * hw_init/Makefile.am: Fix C_FILES, remove AM_CPPFLAGS/HZ. * include/Makefile.am: Add bspopts.h. * include/bsp.h: Comment out SH4_CPU_HZ_Frequency. * startup/bspstart.c: Comment out SH4_CPU_HZ_Frequency. * startup/linkcmds: Comment out OUTPUT_FORMAT for coff compatibility. * wrapup/Makefile.am: Add console to BSP_PIECES. * console/Makefile.am: New. * console/console.c: Moved from libcpu/sh/sh7750/sci/console.c.
* 2001-10-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-10-121-2/+2
| | | | | | | * configure.ac: Add bspopts.h; Add CPU_CLOCK_RATE_HZ. * startup/bspstart.c: Replace HZ with CPU_CLOCK_RATE_HZ. * include/.cvsignore: Add stamp-h*, bspopts.h*. * include/bsp.h: Add bspopts.h.
* 2001-10-11 Alexandra Kossovsky <sasha@oktet.ru>Joel Sherrill2001-10-111-0/+146
* Makefile.am, README, bsp_specs, .cvsignore, include/Makefile.am, include/bsp.h, include/coverhd.h, include/sdram.h, include/.cvsignore, start/Makefile.am, start/start.S, start/.cvsignore, startup/Makefile.am, startup/bspstart.c, startup/linkcmds, startup/linkcmds.rom, startup/linkcmds.rom2ram, startup/.cvsignore, wrapup/Makefile.am, wrapup/.cvsignore, hw_init/Makefile.am, hw_init/hw_init.c, hw_init/.cvsignore, times, configure.ac: New files. Reviewed and updated to latest automake and autoconf standards by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.