summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/mips/jmr3904/startup (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* jmr3904: Simplify bsp_specsJoel Sherrill2017-12-191-0/+3
| | | | Updates #3250.
* bsps: Fix TLS support in linker command filesSebastian Huber2014-04-221-1/+3
| | | | | The TLS section symbols had wrong values in case of an empty TLS data section and a nonempty TLS BSS section.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-211-1/+1
|
* bsps: Thread-local storage (TLS) for linkcmdsSebastian Huber2014-02-041-0/+18
|
* bsps: Simplify FreeBSD linker setsSebastian Huber2013-12-161-13/+6
|
* mips/jmr3904: Add sections for new FreeBSD TCP/IP stackJoel Sherrill2012-07-171-10/+25
|
* 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.
* PR 1993 - Convert MIPS to PIC IRQ modelJennifer Averett2012-04-041-14/+26
|
* 2010-04-27 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-04-271-2/+1
| | | | | * start/start.S, startup/linkcmds: Revert previous change. Remove .reginfo from .bss section where it was present.
* 2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-04-251-1/+2
| | | | * startup/linkcmds: Add NOLOAD to .bss to eliminate warnings.
* 2009-11-16 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-11-161-2/+1
| | | | | * startup/bspstart.c: Remove nested externs. #include <libcpu/isr_entries.h.
* 2009-10-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-10-171-8/+6
| | | | * startup/bspstart.c: Fix warnings.
* 2008-09-23 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-231-16/+0
| | | | | | | * Makefile.am: bsp_cleanup() had the same code which was executed when you returned from boot_card() to start.S. So just use the stub bsp_cleanup() implementation and remove a file. * startup/bspclean.c: Removed.
* 2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-162-42/+5
| | | | | | * Makefile.am, startup/linkcmds: Use top level shared bsp_get_work_area() implementation. * startup/bspgetworkarea.c: Removed.
* 2008-09-14 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-142-22/+36
| | | | | | * Makefile.am, startup/bspstart.c: Split out bsp_get_work_area() into its own file and use BSP Framework to perform more initialization. * startup/bspgetworkarea.c: New file.
* Changed bsp_get_workarea() to bsp_get_work_area() andThomas Doerfler2008-07-241-7/+10
| | | | added support for an optional separate heap area.
* 2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-05-151-43/+17
| | | | | | | | | | | | | | * configure.ac, 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-04-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-04-041-1/+1
| | | | * startup/linkcmds: Increase heap to run ACATS.
* 2008-03-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-03-111-1/+1
| | | | | * startup/linkcmds: Increase default C Program Heap size to be able to run Ada ACATS testsuite.
* 2008-03-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-03-031-1/+1
| | | | | * startup/linkcmds: 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-6/+0
| | | | | | * 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-4/+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.
* 2006-02-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-02-081-4/+3
| | | | * startup/linkcmds: Add sections required by newer gcc versions.
* Remove duplicate white lines.Ralf Corsepius2004-04-211-1/+0
|
* Remove stray white spaces.Ralf Corsepius2004-04-211-3/+3
|
* Remove stray white spaces.Ralf Corsepius2004-04-151-1/+0
|
* 2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-03-311-2/+2
| | | | | * clock/clockdrv.c, include/bsp.h, startup/bspstart.c, timer/timer.c: Convert to using c99 fixed size types.
* 2004-01-31 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2004-01-312-48/+0
| | | | | | | | | * Makefile.am: Merge-in clock/Makefile.am, console/Makefile.am, start/Makefile.am, startup/Makefile.am, timer/Makefile.am, wrapup/Makefile.am. Use automake compilation rules. * clock/Makefile.am, console/Makefile.am, start/Makefile.am, startup/Makefile.am, timer/Makefile.am, wrapup/Makefile.am: Remove. * configure.ac: Reflect changes above.
* 2004-01-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2004-01-181-1/+1
| | | | | | | * Makefile.am: Remove times from EXTRA_DIST (Non-existant). * startup/Makefile.am: Remove exit.c, setvec.c from EXTRA_DIST. * console/Makefile.am: Remove console.c from EXTRA_DIST. * wrapup/Makefile.am: Reflect changes to libcpu.
* 2004-01-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2004-01-141-0/+5
| | | | | | * start/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. * startup/Makefile.am: Cosmetics. * timer/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). * start/Makefile.am: Remove all-local: $(ARCH). * startup/Makefile.am: Remove all-local: $(ARCH). * timer/Makefile.am: Remove all-local: $(ARCH). * wrapup/Makefile.am: Remove all-local: $(ARCH).
* 2003-09-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2003-09-042-2/+2
| | | | | | * console/console-io.c, include/bsp.h, startup/bspclean.c, startup/bspstart.c, timer/timer.c, tools/runtest: 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. include/Makefile.am: Reflect having moved automake. start/Makefile.am: Reflect having moved automake. startup/Makefile.am: Reflect having moved automake. timer/Makefile.am: Reflect having moved automake. wrapup/Makefile.am: Reflect having moved automake.
* mkChangeLogList [-n]Joel Sherrill2003-01-201-0/+10
|
* 2002-12-08 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill2003-01-031-14/+35
| | | | | * bsp_specs: Added crtbegin/crtend and INIT_FINI for C++ support. * linkcmds: Added .init, .fini & related sections.
* 2002-12-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-12-141-1/+0
| | | | | | | | * clock/Makefile.am: Don't include @RTEMS_BSP@.cfg. * console/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. * timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* 2002-11-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-11-012-2/+4
| | | | * startup/bspclean.c, startup/bspstart.c: Removed warnings.
* 2002-08-21 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-08-261-1/+2
| | | | | * startup/linkcmds: Move .init section after text section so C+ global constructors work.
* 2002-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-08-111-1/+1
| | | | | | | | | * clock/Makefile.am: Use .$(OBJEXT) instead of .o. * console/Makefile.am: Use .$(OBJEXT) instead of .o. * start/Makefile.am: Use .$(OBJEXT) instead of .o. * startup/Makefile.am: Use .$(OBJEXT) instead of .o. * timer/Makefile.am: Use .$(OBJEXT) instead of .o. * wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
* 2002-07-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-07-201-0/+2
| | | | * startup/Makefile.am: Add bsplib_DATA = linkcmds.
* 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-03-281-1/+0
| | | | | | | | | | | | | | * configure.ac: AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS). AM_INIT_AUTOMAKE([no-define foreign 1.6]). * clock/Makefile.am: Remove AUTOMAKE_OPTIONS. * Makefile.am: Remove AUTOMAKE_OPTIONS. * console/Makefile.am: Remove AUTOMAKE_OPTIONS. * include/Makefile.am: Remove AUTOMAKE_OPTIONS. * start/Makefile.am: Remove AUTOMAKE_OPTIONS. * startup/Makefile.am: Remove AUTOMAKE_OPTIONS. * timer/Makefile.am: Remove AUTOMAKE_OPTIONS. * wrapup/Makefile.am: Remove AUTOMAKE_OPTIONS.
* 2001-04-20 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-04-201-3/+3
| | | | | | | | | | | | | | | * include/bsp.h (Clear_tm27_intr): Stop the timer and disable the interrupt. This was not quite right before and we were getting uncontrolled interrupt nesting in tm27. * timer/timer.c (Timer_Initialize): Added an extra reset and changed the ITMR register so we will never get an interrupt. (Read_timer): Fixed so the timer actually stops before it is read. Before some times reported were outraguously high. * start/start.S: Major clean including using stack in linkcmds, deleting unused code, and zeroing the BSS using the linkcmds information. * startup/linkcmds: Put heap in lower memory than workspace and move _clear_end so both are zeroed.
* 2000-12-19 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-192-2/+4
| | | | | | | | | | | | | | | * Makefile.am: Added tools subdirectory and removed commented out line. * configure.in: Added tools subdirectory. * tools: New subdirectory. * tools/.cvsignore, tools/Makefile.am, tools/configure.in, tools/runtest: New files -- based on powerpc/psim. * clock/clockdrv.c: Guessed new value for clock tick. Need to add fast idle support. * include/bsp.h: tm27 support initiated. * start/start.S: Fixed frame/endframe problems on _sys_exit. * startup/bspstart.c: Increased Workspace size to 4 MBYTES! * linkcmds: Increased Workspace size to 4 MBYTES! * Most tests appear to run correctly!