summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/mvme162/startup (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-04-20bsps: Move startup files to bspsSebastian Huber5-342/+0
Adjust build support files to new directory layout. This patch is a part of the BSP source reorganization. Update #3285.
2018-01-25Remove make preinstallChris Johns1-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.
2016-12-12Rename is_internal to always_set_to_falseSebastian Huber1-1/+1
Update #2825.
2016-01-25m68k/mvme*: switch to shared linkcmds.baseJoel Sherrill1-191/+15
updates #2542.
2015-12-08Add RTEMS linker setsSebastian Huber1-0/+2
Update #2408.
2014-10-19m68k/mvme162: Fix warningsJoel Sherrill1-18/+8
2014-10-09m68k/mvme162/startup/bspstart.c: Add include of <bsp/bootcard.h> to fix ↵Joel Sherrill1-5/+5
warning and clean up
2014-04-22bsps: Fix TLS support in linker command filesSebastian Huber1-1/+3
The TLS section symbols had wrong values in case of an empty TLS data section and a nonempty TLS BSS section.
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns3-3/+3
2014-02-04bsps: Thread-local storage (TLS) for linkcmdsSebastian Huber1-0/+18
2012-12-07score: rtems_initialize_start_multitasking()Sebastian Huber1-7/+0
Do not return from rtems_initialize_start_multitasking() and call rtems_fatal() instead with a fatal source of RTEMS_FATAL_SOURCE_EXIT and a fatal code with the exit status. Remove all bsp_cleanup() functions. The boot_card() is now a no return function.
2012-11-15score: Add RTEMS_FATAL_SOURCE_EXITSebastian Huber1-2/+11
Include <bsp/default-initial-extension.h> in all BSPs. Call rtems_fatal() with RTEMS_FATAL_SOURCE_EXIT as source and the exit() status code as fatal code in every bsp_cleanup(). Move previous bsp_cleanup() code into bsp_fatal_extension().
2012-11-14bsps: Include <bsp/bootcard.h>Sebastian Huber1-1/+1
Use <bsp/bootcard.h> to get prototype for bsp_cleanup(). Fix bsp_cleanup() definition if necessary.
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill4-8/+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.
2012-04-16m68k: replace m68k_isr with rtems_isrGedare Bloom1-2/+2
2012-02-02PR 1962/bsps - MVME162 Console Corrections and ImprovementsJoel Sherrill2-17/+3
* console/console.c: char_ready() was never returning true so console never processed input data * console/console.c: added printk() support to default device * include/bsp.h: Added #define for MOT_162BUG_VEC_ADDRESS * startup/bspclean.c: Modified to use MOT_162BUG_VEC_ADDRESS * startup/bspstart.c: Modified to use MOT_162BUG_VEC_ADDRESS * make/custom/mvme162.cfg: Modified to use "RTEMS_CPU_MODEL=68lc040" and "CPU_CFLAGS = -mcpu=68040 -msoft-float" so BSP will always work with all board variations. * README: Added notes on user required configuration changes and information about board models and variants * README.models: New file that contains a detailed list of MVME162 models and variants. Signed-off-by: Vic Hoover <victor.hoover.ctr@navy.mil>
2012-02-02PR 1962/bsps - MVME162 Console Corrections and ImprovementsJoel Sherrill2-17/+3
* console/console.c: char_ready() was never returning true so console never processed input data * console/console.c: added printk() support to default device * include/bsp.h: Added #define for MOT_162BUG_VEC_ADDRESS * startup/bspclean.c: Modified to use MOT_162BUG_VEC_ADDRESS * startup/bspstart.c: Modified to use MOT_162BUG_VEC_ADDRESS * make/custom/mvme162.cfg: Modified to use "RTEMS_CPU_MODEL=68lc040" and "CPU_CFLAGS = -mcpu=68040 -msoft-float" so BSP will always work with all board variations. * README: Added notes on user required configuration changes and information about board models and variants * README.models: New file that contains a detailed list of MVME162 models and variants. Signed-off-by: Vic Hoover <victor.hoover.ctr@navy.mil>
2011-07-132011-07-13 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill1-1/+3
PR 1824/cpukit * startup/bspclean.c: Return exit/shutdown status back to boot_card(). boot_card() propagates this to bsp_cleanup() and returns it to the assembly that started the application. bsp_cleanup() prototype changed.
2011-02-112011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-11/+11
* startup/bspclean.c, startup/page_table.c: Use "__asm__" instead of "asm" for improved c99-compliance.
2010-04-282010-04-28 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill1-4/+3
* startup/bspclean.c: Remove warnings.
2008-09-162008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-4/+4
* Makefile.am, startup/linkcmds: Use top level shared bsp_get_work_area() implementation.
2008-09-162008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-20/+1
* Makefile.am, configure.ac, clock/ckinit.c, startup/bspstart.c, startup/linkcmds: Add use of bsp_get_work_area() in its own file and rely on BSP Framework to perform more initialization. Remove unnecessary includes of rtems/libio.h and rtems/libcsupport.h.
2008-08-19Add missing prototypes.Ralf Corsepius1-1/+1
2008-05-122008-05-12 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-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-032008-03-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-1/+1
* startup/linkcmds: Add wildcard to gcc_except_table section so programs compiled with gcc 4.3.x can link.
2007-12-112007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-10/+1
* clock/ckinit.c, include/bsp.h, startup/bspstart.c: Eliminate copies of the Configuration Table. Use the RTEMS provided accessor macros to obtain configuration fields.
2007-12-042007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-9/+0
* 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-032007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-2/+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-262007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-2/+1
* startup/bspstart.c: Eliminate the interrupt_vector_table field in the m68k CPU Table since it is never read.
2007-05-032007-05-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-2/+2
* startup/linkcmds: Handle .data.* sections
2006-02-082006-02-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-2/+2
* startup/linkcmds: Add sections required by newer gcc versions.
2004-11-262004-11-25 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-1/+2
* startup/linkcmds: Add new bss sections .bss.* and .gnu.linkonce.b*.
2004-04-21Remove duplicate white lines.Ralf Corsepius1-2/+0
2004-04-21Remove stray white spaces.Ralf Corsepius2-13/+13
2004-04-15Remove stray white spaces.Ralf Corsepius1-2/+0
2004-04-082004-04-08 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-1/+1
* mvme162/startup/bspclean.c: Include <rtems/m68k/zilog/z8036.h> instead of <zilog/z8036.h>.
2004-03-312004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-1/+1
* clock/ckinit.c, startup/bspstart.c, timer/timer.c: Convert to using c99 fixed size types.
2004-01-28Remove .cvsignoreRalf Corsepius1-2/+0
2004-01-282004-01-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-47/+0
* README: Remove references to consolex. * Makefile.am: Merge-in clock/Makefile.am, console/Makefile.am, network/Makefile.am, startup/Makefile.am, timer/Makefile.am, tod/Makefile.am. Use automake compilation rules. * clock/Makefile.am, console/Makefile.am, network/Makefile.am startup/Makefile.am, timer/Makefile.am, tod/Makefile.am: Remove. * configure.ac: Reflect changes above.
2004-01-142004-01-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-0/+5
* Makefile.am: Re-add dirstamps to PRE/TMPINSTALL_FILES. Add PRE/TMPINSTALL_FILES to CLEANFILES. * consolex/Makefile.am: Ditto. * startup/Makefile.am: Ditto.
2003-12-132003-12-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-6/+6
* start/Makefile.am: s,${PROJECT_RELEASE}/lib,$(PROJECT_LIB),g. * startup/Makefile.am: s,${PROJECT_RELEASE}/lib,$(PROJECT_LIB),g.
2003-12-122003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-0/+4
* consolex/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES. * 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-102003-12-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-8/+6
* Makefile.am: Misc cleanups and fixes. * start/Makefile.am: Misc cleanups and fixes. * startup/Makefile.am: Misc cleanups and fixes. * wrapup/Makefile.am: Misc cleanups and fixes.
2003-12-032003-12-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-1/+0
* Makefile.am: Add preinstallation dirstamp support. * clock/Makefile.am: Cosmetics. * console/Makefile.am: Cosmetics. * consolex/Makefile.am: Add preinstallation dirstamp support. * network/Makefile.am: Cosmetics. * startup/Makefile.am: Cosmetics. * timer/Makefile.am: Cosmetics. * tod/Makefile.am: Cosmetics. * tools/Makefile.am: Cosmetics. * wrapup/Makefile.am: Cosmetics.
2003-12-022003-12-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-1/+1
* clock/Makefile.am: Remove all-local: $(ARCH). * console/Makefile.am: Remove all-local: $(ARCH). * consolex/Makefile.am: Remove all-local: $(ARCH). * network/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). * tod/Makefile.am: Remove all-local: $(ARCH). * wrapup/Makefile.am: Remove all-local: $(ARCH).
2003-09-042003-09-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill3-3/+3
* clock/ckinit.c, console/console.c, consolex/cTest.c, consolex/consolex.c, consolex/consolex.h, include/bsp.h, include/coverhd.h, include/tod.h, startup/bspclean.c, startup/bspstart.c, startup/linkcmds, timer/timer.c, timer/timerisr.S, tod/tod.c: URL for license changed.
2003-08-162003-08-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-3/+3
Makefile.am: Reflect having moved automake. clock/Makefile.am: Reflect having moved automake. console/Makefile.am: Reflect having moved automake. consolex/Makefile.am: Reflect having moved automake. include/Makefile.am: Reflect having moved automake. network/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. tod/Makefile.am: Reflect having moved automake. wrapup/Makefile.am: Reflect having moved automake.
2003-08-112003-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-3/+0
* startup/Makefile.am: Remove USE_INIT_FINI.
2003-01-20mkChangeLogList [-n]Joel Sherrill1-0/+10
2002-12-212002-12-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-1/+0
* clock/Makefile.am: Don't include @RTEMS_BSP@.cfg. * console/Makefile.am: Don't include @RTEMS_BSP@.cfg. * consolex/Makefile.am: Don't include @RTEMS_BSP@.cfg. * network/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. * tod/Makefile.am: Don't include @RTEMS_BSP@.cfg.