summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/mcf5235/include/bsp.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove make preinstallChris Johns2018-01-251-70/+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.
* m68k/mcf5235/include/bsp.h: Do not include <rtems/iosupp.h>Joel Sherrill2016-03-301-2/+0
|
* m68k/mcf5235: Remove include of <rtems/console.h> from <bsp.h> and fix warningsJoel Sherrill2016-03-291-1/+0
|
* m68k/mcf5235/include/bsp.h: Do not include <rtems/clockdrv.h>Joel Sherrill2016-03-271-1/+0
|
* Most bsp.h: Switch to LIBBSP_@CPU@_@BSP_FAMILY@_H for guardJoel Sherrill2015-07-161-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
* bsps: Move extern "C" to not cover includesSebastian Huber2014-10-231-4/+4
| | | | Some includes may use C++ and this conflicts if surrounded extern "C".
* m68k/mcf5235: Fix warningsJoel Sherrill2014-10-201-0/+5
|
* score: Add RTEMS_FATAL_SOURCE_EXITSebastian Huber2012-11-151-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().
* m68k: replace m68k_isr with rtems_isrGedare Bloom2012-04-161-1/+1
|
* Whitespace removal.Ralf Corsepius2009-11-291-1/+1
|
* 2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-181-19/+0
| | | | * include/bsp.h: Remove unnecessary boilerplate comments.
* 2008-09-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-101-1/+0
| | | | | | * 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.
* 2008-06-10 Matthew Riek <matthew.riek@ibiscomputer.com.au>Chris Johns2008-06-111-0/+1
| | | | | | | | * Makefile.am: Add shared/m68kbspgetworkarea.c to sources. * configure.ac: Add RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION. * include/bsp.h: Add include bspopts.h. * start/start.S: Formatting changes. * startup/bspstart.c: Updated to use the shared BSP support.
* 2008-05-29 Chris Johns <chrisj@rtems.org>Chris Johns2008-05-291-1/+1
| | | | | * include/bsp.h: FEC unit numbers based on 0 not 1. Change the interface name to fec0.
* 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-111-2/+0
| | | | | | * include/bsp.h, startup/bspstart.c: Eliminate copies of the Configuration Table. Use the RTEMS provided accessor macros to obtain configuration fields.
* 2007-03-10 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2007-03-101-11/+0
| | | | | | PR 1227/bsps * include/bsp.h: Remove MAX_LONG_TEST_DURATION and MAX_SHORT_TEST_DURATION. They are obsolete and unused.
* Remove eof include fileRalf Corsepius2006-03-171-1/+0
|
* Eliminate unsigned32.Ralf Corsepius2005-11-071-1/+1
|
* 2005-06-17 Mike Bertosh <mbertosh@motioncontrol.org>Joel Sherrill2005-06-171-0/+101
* .cvsignore, ChangeLog, Makefile.am, README, bsp_specs, configure.ac, clock/clock.c, console/console.c, include/bsp.h, include/coverhd.h, include/tm27.h, network/network.c, start/start.S, startup/bspclean.c, startup/bspstart.c, startup/init5235.c, startup/linkcmds, startup/linkcmdsflash, startup/linkcmdsram, timer/timer.c: New files.