summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/mrm332/include/bsp.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove make preinstallChris Johns2018-01-251-90/+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/mrm332/include/bsp.h: Do not include <rtems/iosupp.h>Joel Sherrill2016-03-301-1/+0
|
* m68k/mrm332: Remove include of <rtems/console.h> from <bsp.h> and fix warningsJoel Sherrill2016-03-291-1/+0
|
* m68k/mrm332/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/mrm332: Move include of <rtems/m68k/sim.h>Joel Sherrill2014-10-191-1/+0
| | | | | | This file defines at least the POW() macro which pollutes the public name space and causes warnings in at least the paranoia sample application.
* mrm332: Tests now build and fewer warningsJoel Sherrill2014-06-011-1/+0
|
* multiple BSPs: Remove BSP_SMALL_MEMORYJoel Sherrill2014-05-061-2/+0
|
* m68k/mrm332: changes required to get the mrm332 bsp working again.James Fitzsimons2014-03-261-1/+1
| | | | | | | | | | | | | | Changed console driver to use interrupts instead of polling. Change to avoid overwriting CPU32Bug interrupt vector when setting up the Sci interrupt handler. Fixed type for boolean flag in bsp.h. Changed mrm332.h to use 25Mhz clock. Fixes to mrm332.cfg to use correct mcpu32 value for RTEMS_CPU_MODEL instead of m68332 which is no longer supported. Added -mcpu=cpu32 to compiler options. Removed broken ROM linker script and replaced broken RAM linker script with working ROM linker script. Removed no longer required file except_vect_332_ROM.S. Enabled 0xbeefbeef magic string in start.S to allow MRM version of CPU32Bug to auto run RTEMS. Removed old code from start.S Changed compiler optimization flag to optimize for size.
* mrm332/include/bsp.h: Remove rtems_bsp_delay()Joel Sherrill2014-03-211-17/+3
|
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-211-1/+1
|
* 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().
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-111-2/+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.
* m68k: replace m68k_isr with rtems_isrGedare Bloom2012-04-161-2/+2
|
* 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-111-1/+1
| | | | | * include/bsp.h, include/mrm332.h, spurious/spinit.c: Use "__asm__" instead of "asm" for improved c99-compliance.
* 2009-08-21 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-211-8/+1
| | | | | * include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS. Should be automatically handled by confdefs.h or the application.
* 2009-05-09 Chris Johns <chrisj@rtems.org>Chris Johns2009-05-081-0/+2
| | | | | * include/bsp.h: Defined as a small memory target. It cannot build one of the sample programs any more.
* 2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-181-12/+0
| | | | * include/bsp.h: Remove unnecessary boilerplate comments.
* 2008-09-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-101-2/+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.
* 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-111-3/+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-04 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-041-1/+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-03-13 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2007-03-131-4/+0
| | | | * include/bsp.h: Remove redundant prototypes.
* Remove eof include fileRalf Corsepius2006-03-171-1/+0
|
* 2005-05-26 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-05-261-2/+2
| | | | * include/bsp.h: New header guard.
* 2004-04-22 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-04-221-16/+0
| | | | | * include/bsp.h: Split out tmtest27 support. * include/tm27.h: New.
* 2004-04-21 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-04-211-10/+0
| | | | | PR 613/bsps * include/bsp.h: Remove MAX_LONG_TEST_DURATION.
* 2004-04-21 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-04-211-1/+0
| | | | | PR 614/bsps * include/bsp.h: Remove MAX_SHORT_TEST_DURATION (Unused).
* Remove stray white spaces.Ralf Corsepius2004-04-211-4/+4
|
* 2004-04-03 Ralf Corsepiu <ralf_corsepiu@rtems.org>Ralf Corsepius2004-04-031-2/+2
| | | | | | | | | * c/src/lib/libbsp/m68k/mrm332/include/bsp.h, c/src/lib/libbsp/m68k/mrm332/start/start.S, c/src/lib/libbsp/m68k/mrm332/startup/start_c.c: Include <rtems/m68k/sim.h> instead of <sim.h>. * c/src/lib/libbsp/m68k/mrm332/include/bsp.h: Include <rtems/m68k/qsm.h> instead of <qsm.h>.
* 2004-04-01 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-04-011-3/+3
| | | | | | * 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-31 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-03-311-2/+2
| | | | | | * clock/ckinit.c, console/sci.c, console/sci.h, include/bsp.h, misc/interr.c, startup/bspstart.c, timer/timer.c: Convert to using c99 fixed size types.
* 2003-09-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2003-09-041-1/+1
| | | | | | * clock/ckinit.c, console/console.c, include/bsp.h, misc/interr.c, spurious/spinit.c, startup/bspclean.c, startup/bspstart.c, timer/timer.c: URL for license changed.
* 2002-02-28 Mike Panetta <ahuitzot@mindspring.com>Joel Sherrill2002-02-281-2/+4
| | | | | | | | | | | * console/sci.c, console/sci.h, console/console.c: Added new SCI driver. * start/start.c: Removed file. * start/start.S: New file, the asm portion of the updated start code. * start/configure.am: Added start.S, removed start.c * startup/start_c.c: New file, the C portion of the updated start code. Contains most of the code that was in the old start.c. * startup/configure.am: Added start_c.c to C_FILES. * include/bsp.h: Added include <rtems/bspIo.h>
* 2001-09-27 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-09-281-1/+1
| | | | * include/bsp.h: Renamed delay() to rtems_bsp_delay().
* 2001-05-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-06-181-0/+2
| | | | | | | * configure.in: Add bspopts.h. * include/.cvsignore: Add bspopts.h*, stamp-h*. * include/Makefile.am: Use *_HEADERS instead of *H_FILES. * include/bsp.h: Include bspopts.h.
* 2000-05-25 Matt Cross <profesor@gweep.net>Joel Sherrill2001-05-251-0/+163
* New MRM332 BSP for the Mini RoboMind board based on the 68332 microcontroller designed and build by Mark Castelluccio. For details on the MRM see http://www.robominds.com. * .cvsignore, ChangeLog Makefile.am, README, bsp_specs, clock/.cvsignore, clock/Makefile.am, clock/ckinit.c, configure.in, console/.cvsignore, console/Makefile.am, console/console.c, include/.cvsignore, include/Makefile.am, include/bsp.h, include/mrm332.h, misc/dotests, misc/gdbinit68, misc/interr.c, spurious/.cvsignore, spurious/Makefile.am, spurious/spinit.c, start/.cvsignore, start/Makefile.am, start/start.c, startup/.cvsignore, startup/Makefile.am, startup/bspclean.c, startup/bspstart.c, startup/except_vect_332_ROM.S, startup/linkcmds, startup/linkcmds_ROM, timer/.cvsignore, timer/Makefile.am, timer/timer.c, times, wrapup/.cvsignore, wrapup/Makefile.am: Initial files.