summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/gen68340/include (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-01-25Remove make preinstallChris Johns7-1032/+0
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.
2017-11-27bsps: Provide <tm27.h> in each BSPSebastian Huber1-0/+1
Since the <tm27.h> is highly BSP-dependent and used only by the tm27 test program we must provide this header file for each BSP. Without the preinstall build target each header file must have a unique source header file. Update #3254.
2017-11-24Remove coverhd.hSebastian Huber1-82/+0
This header file contained timing overhead values which are hard to maintain. Update #3254.
2016-03-30m68k/gen68340/include/bsp.h: Do not include <rtems/iosupp.h>Joel Sherrill1-1/+0
2016-03-29m68k/gen68340: Remove include of <rtems/console.h> from <bsp.h> and fix warningsJoel Sherrill1-1/+0
2016-03-27m68k/gen68340/include/bsp.h: Do not include <rtems/clockdrv.h>Joel Sherrill1-1/+0
2015-07-16Most bsp.h: Switch to LIBBSP_@CPU@_@BSP_FAMILY@_H for guardJoel Sherrill1-2/+2
This was done by the following script run from libbsp: find * -name bsp.h | xargs -e grep -l "#ifndef.*_BSP_H" | while read b do echo $b cpu=`echo $b | cut -d'/' -f1 | tr '[:lower:]' '[:upper:]' ` bsp=`echo $b | cut -d'/' -f2 | tr '[:lower:]' '[:upper:]' ` g="LIBBSP_${cpu}_${bsp}_BSP_H" # echo $g sed -e "s/ifndef _BSP_H/ifndef ${g}/" \ -e "s/define _BSP_H/define ${g}/" \ -i $b done
2014-10-23bsps: Move extern "C" to not cover includesSebastian Huber1-4/+4
Some includes may use C++ and this conflicts if surrounded extern "C".
2014-10-16m68k/gen68340: Fix warningsJoel Sherrill1-0/+17
2014-03-21gen68340/include/bsp.h: Remove rtems_bsp_delay()Joel Sherrill1-16/+0
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns3-3/+3
2014-01-02gen68340: Add doxygen header files.Toma Radu5-0/+48
2012-11-15score: Add RTEMS_FATAL_SOURCE_EXITSebastian Huber1-0/+1
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-08-06Revert "Add bspopts.h.in."Gedare Bloom1-31/+0
This reverts commit daffa606cc4a45d93c1f0f4fe365fde0fda6acbb. Conflicts: c/src/lib/libbsp/arm/lpc24xx/include/bspopts.h.in c/src/lib/libbsp/powerpc/mpc55xxevb/include/bspopts.h.in c/src/lib/libbsp/powerpc/qoriq/include/bspopts.h.in Manually deleted conflicting files.
2012-05-24Add bspopts.h.in.Ralf Corsépius1-0/+31
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-05-03General - Remove extraneous blank line in license messageJoel Sherrill2-2/+0
Many files had an extra blank line in the license text found in the file header. This patch removes that line. * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * * http://www.rtems.com/license/LICENSE. The script that did this also turned off execute permission when it was turned on incorrectly.
2012-04-16m68k: replace m68k_isr with rtems_isrGedare Bloom1-2/+2
2012-02-01Remove all .cvsignore files.Joel Sherrill1-4/+0
2011-02-112011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-1/+1
* include/bsp.h: Use "__asm__" instead of "asm" for improved c99-compliance.
2009-12-17 adapted to new prototype for *_write functionThomas Doerfler1-1/+1
2008-10-022008-10-02 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-33/+0
* Makefile.am, preinstall.am: Use shared tm27.h stub. * include/tm27.h: Removed.
2008-09-182008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-14/+0
* include/bsp.h: Remove unnecessary boilerplate comments.
2008-09-102008-09-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-2/+0
* Makefile.am, include/bsp.h: Review of all bsp_cleanup() implementations. In this phase, all prototypes were removed from bsp.h and empty implementations were removed and made to use the shared stub. * startup/bspclean.c: Removed.
2008-08-312008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-1/+1
* console/console.c, include/m340timer.h, timer/timer.c: Eliminate empty function from every benchmark timer driver. Fix spelling.
2008-08-312008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-1/+1
* console/console.c, include/m340timer.h, timer/timer.c: Rename timer driver methods to follow RTEMS programming conventions.
2008-06-052008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-2/+1
* console/console.c, include/m340uart.h: Use new shared termios_baud_to_number() routine.
2007-12-112007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-8/+0
* 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.
2006-10-17Convert to utf-8Ralf Corsepius1-1/+1
2006-03-17Remove eof include fileRalf Corsepius1-1/+0
2005-05-262005-05-26 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-2/+2
* include/bsp.h: New header guard.
2005-02-122005-02-11 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-5/+0
* include/bsp.h: Correct type of symbols from linkcmds to compile with gcc 4.x.
2004-04-232004-04-23 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-5/+3
PR 610/bsps * Makefile.am: Add include/tm27.h, Cosmetics. * include/tm27.h: Final cosmetics.
2004-04-222004-04-22 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2-15/+35
* include/bsp.h: Split out tmtest27 support. * include/tm27.h: New.
2004-04-212004-04-21 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-10/+0
PR 613/bsps * include/bsp.h: Remove MAX_LONG_TEST_DURATION.
2004-04-212004-04-21 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-1/+0
PR 614/bsps * include/bsp.h: Remove MAX_SHORT_TEST_DURATION (Unused).
2004-04-21Remove duplicate white lines.Ralf Corsepius1-1/+0
2004-04-21Remove stray white spaces.Ralf Corsepius4-8/+8
2004-04-15Remove stray white spaces.Ralf Corsepius1-3/+0
2004-04-012004-04-01 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-3/+3
* console/Modif_cpu_asm.S: Include <rtems/asm.h> instead of <asm.h>. * include/bsp.h: Include <rtems/clockdrv.h> instead of <clockdrv.h>. * include/bsp.h: Include <rtems/console.h> instead of <console.h>. * include/bsp.h: Include <rtems/iosupp.h> instead of <iosupp.h>.
2004-03-312004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2-12/+12
* clock/ckinit.c, console/m340uart.c, include/bsp.h, include/m340uart.h, startup/bspstart.c: Convert to using c99 fixed size types.
2004-01-28.cvsignore: Remove Makefile*Ralf Corsepius1-2/+0
2003-09-292003-09-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-23/+0
* Makefile.am: Merge-in include/Makefile.am. Reflect changes to bsp.am. * include/Makefile.am: Remove. * configure.ac: Reflect changes above.
2003-09-042003-09-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill3-3/+3
* clock/ckinit.c, console/Modif_cpu_asm.S, console/console.c, console/m340uart.c, include/bsp.h, include/m340timer.h, include/m340uart.h, start/start.S, start/startfor340only.S, startup/bspclean.c, startup/bspstart.c, startup/dumpanic.c, timer/timer.c: URL for license changed.
2003-08-162003-08-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-1/+1
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.
2002-03-282002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-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-09-282001-09-27 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-1/+1
* include/bsp.h: Renamed delay() to rtems_bsp_delay().
2001-09-272001-09-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-1/+1
* include/Makefile.am: Use 'TMPINSTALL_FILES ='.
2001-06-182001-06-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-2/+2
* include/Makefile.am: Fix typo in include_HEADERS.