summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sh/shsim/startup (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsps: Move startup files to bspsSebastian Huber2018-04-205-515/+0
| | | | | | | | Adjust build support files to new directory layout. This patch is a part of the BSP source reorganization. Update #3285.
* misc sh: Remove includes of rtems/score/types.hJoel Sherrill2018-03-121-1/+0
|
* Remove make preinstallChris Johns2018-01-251-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A speciality of the RTEMS build system was the make preinstall step. It copied header files from arbitrary locations into the build tree. The header files were included via the -Bsome/build/tree/path GCC command line option. This has at least seven problems: * The make preinstall step itself needs time and disk space. * Errors in header files show up in the build tree copy. This makes it hard for editors to open the right file to fix the error. * There is no clear relationship between source and build tree header files. This makes an audit of the build process difficult. * The visibility of all header files in the build tree makes it difficult to enforce API barriers. For example it is discouraged to use BSP-specifics in the cpukit. * An introduction of a new build system is difficult. * Include paths specified by the -B option are system headers. This may suppress warnings. * The parallel build had sporadic failures on some hosts. This patch removes the make preinstall step. All installed header files are moved to dedicated include directories in the source tree. Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc, etc. Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g. erc32, imx, qoriq, etc. The new cpukit include directories are: * cpukit/include * cpukit/score/cpu/@RTEMS_CPU@/include * cpukit/libnetworking The new BSP include directories are: * bsps/include * bsps/@RTEMS_CPU@/include * bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include There are build tree include directories for generated files. The include directory order favours the most general header file, e.g. it is not possible to override general header files via the include path order. The "bootstrap -p" option was removed. The new "bootstrap -H" option should be used to regenerate the "headers.am" files. Update #3254.
* shsim: Simplify bsp_specsJoel Sherrill2017-12-192-232/+1
| | | | | | | | | | This bsp_specs included non-standard logic to pass endian arguments to the linker. These should not be necessary. If they are, it is a bug in the sh gcc target. The code was "%{ml:-EL}%{mb:-EB}" Also the file linkcmds.sim was not referenced and was deleted. Updates #3250.
* bsp/shsim: Move libcpu files to BSPSebastian Huber2017-12-082-0/+230
| | | | Update #3254.
* Add RTEMS linker setsSebastian Huber2015-12-081-1/+2
| | | | Update #2408.
* sh/shsim: Further clean up and fixes to previous commitJoel Sherrill2014-10-191-1/+2
|
* SH libcpu and libbsp: Fix warningsJoel Sherrill2014-10-161-0/+21
|
* shsim: Correct linking for C++Joel Sherrill2014-04-221-14/+9
|
* bsps: Fix TLS support in linker command filesSebastian Huber2014-04-222-2/+6
| | | | | The TLS section symbols had wrong values in case of an empty TLS data section and a nonempty TLS BSS section.
* bsps: Thread-local storage (TLS) for linkcmdsSebastian Huber2014-02-042-4/+32
|
* bsps: Simplify FreeBSD linker setsSebastian Huber2013-12-161-15/+5
|
* shsim linkcmds: Add new FreeBSD TCP/IP stack sectionsJoel Sherrill2012-07-141-0/+24
|
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-112-4/+0
| | | | | | | | | | | | Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
* 2008-09-25 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-251-2/+2
| | | | * startup/linkcmds: GDB Simulator has 16MB RAM.
* 2008-09-24 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-09-241-1/+10
| | | | | | | | * Makefile.am, configure.ac, clock/clockdrv.c, include/bsp.h, start/start.S, startup/linkcmds: Now runs ticker and hello on sh-rtems4.10-gdb. The SH simulator in gdb has no hardware IO or interrupt simulation so we use the trap interface to print. * gdbsci/gdbsci.c: Removed.
* 2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-162-7/+7
| | | | | * Makefile.am, startup/linkcmds, startup/linkcmds.sim: Use top level shared bsp_get_work_area() implementation.
* 2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-161-104/+0
| | | | * startup/bspstart.c: Removed.
* 2008-09-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-151-7/+5
| | | | | | | | * 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.
* 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.
* 2008-03-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-03-032-2/+2
| | | | | | * startup/linkcmds, startup/linkcmds.sim: Add wildcard to gcc_except_table section so programs compiled with gcc 4.3.x can link.
* 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-111-11/+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-11/+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.
* 2007-07-24 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-07-242-4/+227
| | | | | | | * Makefile.am, preinstall.am, startup/linkcmds: Save the old linker script as linkcmds.sim and use one with enough memory to link all tests so we can at least build things. * startup/linkcmds.sim: New file.
* 2007-05-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2007-05-031-2/+2
| | | | | * startup/linkcmds: Handle .data.* sections. Also change directive placing stack on onchip_ram to make ld happy.
* 2006-06-24 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-06-251-13/+18
| | | | * startup/linkcmds: Add .rela.dyn sections.
* 2006-03-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-03-081-1/+1
| | | | * startup/linkcmds: Add .gnu.linkonce.b.* section.
* 2006-02-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-02-081-3/+3
| | | | * startup/linkcmds: Add sections required by newer gcc versions.
* Add missing sections.Ralf Corsepius2005-05-201-2/+5
|
* Remove duplicate white lines.Ralf Corsepius2004-04-211-1/+0
|
* Remove stray white spaces.Ralf Corsepius2004-04-161-11/+11
|
* 2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-03-311-5/+5
| | | | | * gdbsci/gdbsci.c, include/bsp.h, startup/bspstart.c: Convert to using c99 fixed size types.
* Remove unnecessary .cvsignoreRalf Corsepius2004-01-291-2/+0
|
* 2004-01-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2004-01-291-46/+0
| | | | | | | | | | * Makefile.am: Merge-in clock/Makefile.am, gdbsci/Makefile.am, startup/Makefile.am, wrapup/Makefile.am, console/Makefile.am, scitab/Makefile.am, trap34/Makefile.am. Use automake compilation rules. * clock/Makefile.am, gdbsci/Makefile.am, startup/Makefile.am, wrapup/Makefile.am, console/Makefile.am, scitab/Makefile.am, trap34/Makefile.am: Remove. * configure.ac: Reflect changes above.
* 2004-01-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2004-01-141-0/+5
| | | | | | * Makefile.am: Re-add dirstamps to PRE/TMPINSTALL_FILES. Add PRE/TMPINSTALL_FILES to CLEANFILES. * startup/Makefile.am: Ditto.
* 2003-12-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-12-131-6/+6
| | | | | * start/Makefile.am: s,${PROJECT_RELEASE}/lib,$(PROJECT_LIB),g. * startup/Makefile.am: s,${PROJECT_RELEASE}/lib,$(PROJECT_LIB),g.
* 2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-12-121-0/+4
| | | | | * start/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES. * startup/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
* 2003-12-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-12-111-8/+6
| | | | | | * start/Makefile.am: Misc cleanups and fixes. * startup/Makefile.am: Misc cleanups and fixes. * wrapup/Makefile.am: Misc cleanups and fixes.
* 2003-12-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-12-031-1/+0
| | | | | | | | | | | * Makefile.am: Add preinstallation dirstamp support. * clock/Makefile.am: Cosmetics. * console/Makefile.am: Cosmetics. * gdbsci/Makefile.am: Cosmetics. * scitab/Makefile.am: Cosmetics. * startup/Makefile.am: Cosmetics. * trap34/Makefile.am: Cosmetics. * wrapup/Makefile.am: Cosmetics.
* 2003-12-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-12-021-1/+1
| | | | | | | | | | | * clock/Makefile.am: Remove all-local: $(ARCH). * console/Makefile.am: Remove all-local: $(ARCH). * gdbsci/Makefile.am: Remove all-local: $(ARCH). * scitab/Makefile.am: Remove all-local: $(ARCH). * start/Makefile.am: Remove all-local: $(ARCH). * startup/Makefile.am: Remove all-local: $(ARCH). * trap34/Makefile.am: Remove all-local: $(ARCH). * wrapup/Makefile.am: Remove all-local: $(ARCH).
* 2003-09-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2003-09-041-1/+1
| | | | | * include/bsp.h, start/start.S, startup/bspstart.c, trap34/console-io.c: URL for license changed.
* 2003-08-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-08-161-3/+3
| | | | | | | | | | | | | Makefile.am: Reflect having moved automake. clock/Makefile.am: Reflect having moved automake. console/Makefile.am: Reflect having moved automake. gdbsci/Makefile.am: Reflect having moved automake. include/Makefile.am: Reflect having moved automake. scitab/Makefile.am: Reflect having moved automake. start/Makefile.am: Reflect having moved automake. startup/Makefile.am: Reflect having moved automake. trap34/Makefile.am: Reflect having moved automake. wrapup/Makefile.am: Reflect having moved automake.
* 2003-06-13 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2003-06-131-1/+1
| | | | * startup/linkcmds: Removed warnings.
* 2003-01-28 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2003-01-281-4/+4
| | | | * startup/linkcmds: Fix to work around truncated section names.
* mkChangeLogList [-n]Joel Sherrill2003-01-201-0/+11
|
* 2003-01-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-01-151-1/+0
| | | | | | | | | | * clock/Makefile.am: Don't include @RTEMS_BSP@.cfg. * console/Makefile.am: Don't include @RTEMS_BSP@.cfg. * gdbsci/Makefile.am: Don't include @RTEMS_BSP@.cfg. * scitab/Makefile.am: Don't include @RTEMS_BSP@.cfg. * start/Makefile.am: Don't include @RTEMS_BSP@.cfg. * startup/Makefile.am: Don't include @RTEMS_BSP@.cfg. * trap34/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* 2002-11-07 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-11-081-1/+1
| | | | * startup/linkcmds: Include all .rodata* sections.