summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/motorola_powerpc/include (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-01-25Remove make preinstallChris Johns4-749/+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.
2018-01-16bsps/powerpc: Move BSP specific file to BSPSebastian Huber1-0/+233
Update #3254.
2018-01-03bsps/powerpc: Move shared irq.hSebastian Huber1-0/+204
This header file is only used by motorola_powerpc, so not shared. Update #3254. Update #3268.
2017-11-22powerpc: Replace BSP_panic() with rtems_panic()Sebastian Huber1-1/+0
Due to a new rtems_panic() implementation, it is possible to replace the PowerPC-specific BSP_panic() with rtems_panic(). Remove BSP_panic() implementations. Close #3245.
2016-03-29powerpc/motorola_powerpc: Remove include of <rtems/console.h> from <bsp.h> ↵Joel Sherrill1-1/+0
and fix warnings
2016-03-27powerpc/motorola_powerpc/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-19powerpc/motorola_powerpc/include/bsp.h: Fix warningsJoel Sherrill1-0/+5
2014-10-19libbsp/powerpc/shared and motorola_powerpc: Fix warningsJoel Sherrill1-7/+12
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns2-2/+2
2014-01-09libbsp tm27.h: Add Doxygen file header to all tm27.hCynthia Rempel1-2/+6
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-54/+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/+54
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2-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.
2012-02-01Remove all .cvsignore files.Joel Sherrill1-2/+0
2011-07-162011-07-15 Till Straumann <strauman@slac.stanford.edu>Till Straumann1-0/+31
* motorola_powerpc/Makefile.am, motorola_powerpc/configure.ac, motorola_powerpc/preinstall.am, motorola_powerpc/include/bsp.h, motorola_powerpc/make/custom/qemuprep.cfg, motorola_powerpc/qemu_fakerom/Makefile.am, motorola_powerpc/qemu_fakerom/.cvsignore: Added 'qemuprep' BSP variant.
2011-05-18 2011-05-18 Till Straumann <strauman@slac.stanford.edu>Till Straumann1-1/+0
PR1797/bsps: Applied cleaned-up version of Kate's patch. CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK is now a 'bspopts.h' setting and as such configurable.
2011-02-112011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-4/+4
* include/tm27.h: Use "__asm__" instead of "asm" for improved c99-compliance.
2011-01-282011-01-28 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill1-1/+1
* beatnik/include/bsp.h, beatnik/irq/irq.h, beatnik/pci/gt_pci_init.c, ep1a/console/polled_io.c, ep1a/irq/openpic_xxx_irq.c, gen5200/include/irq.h, gen5200/irq/irq.c, gen5200/startup/bspstart.c, haleakala/irq/irq.c, mbx8xx/irq/irq.c, mbx8xx/irq/irq.h, motorola_powerpc/include/bsp.h, mpc8260ads/irq/irq.c, mpc8260ads/irq/irq.h, mvme3100/include/bsp.h, mvme3100/irq/irq.h, mvme3100/start/start.S, mvme5500/include/bsp.h, mvme5500/irq/irq.h, psim/include/bsp.h, psim/include/coverhd.h, psim/irq/irq.h, psim/shmsupp/addrconv.c, psim/shmsupp/getcfg.c, psim/startup/linkcmds, psim/tools/psim-gdb-top.in, psim/tools/psim-top.in, psim/tools/runtest-top.in, qemuppc/irq/irq.h, score603e/irq/irq.c, shared/bootloader/bootldr.h, shared/bootloader/em86.c, shared/bootloader/em86real.S, shared/bootloader/exception.S, shared/bootloader/head.S, shared/bootloader/lib.c, shared/bootloader/misc.c, shared/bootloader/mm.c, shared/bootloader/pci.c, shared/console/console.c, shared/console/consoleIo.h, shared/console/inch.c, shared/console/keyboard.h, shared/console/polled_io.c, shared/irq/i8259.c, shared/irq/irq.h, shared/irq/openpic_i8259_irq.c, shared/motorola/motorola.c, shared/motorola/motorola.h, shared/openpic/openpic.c, shared/openpic/openpic.h, shared/pci/pci.c, shared/residual/residual.c, shared/start/start.S, ss555/irq/irq.h: Fix typo where license said found in found in.
2009-12-08Add network configuration macros.Eric Norum1-0/+7
2009-11-30Whitespace removal.Ralf Corsepius1-5/+5
2009-08-212009-08-21 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-8/+0
* include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS. Should be automatically handled by confdefs.h or the application.
2008-09-222008-09-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-1/+0
* Makefile.am, include/bsp.h: Use standardized bsp_cleanup() which can optionally print a message, poll for user to press key, and call bsp_reset(). Using this eliminates the various bsp_cleanup() implementations which had their own implementation and variety of string constants.
2008-09-152008-09-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-0/+3
* include/bsp.h: Add use of bsp_get_work_area() in its own file and rely on BSP Framework to perform more initialization.
2007-12-112007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-1/+0
* include/bsp.h: Eliminate copies of the Configuration Table. Use the RTEMS provided accessor macros to obtain configuration fields.
2007-12-052007-12-04 Till Straumann <strauman@slac.stanford.edu>Till Straumann1-0/+5
* export BSP_commandline_string variable.
2007-12-042007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-2/+0
* Makefile.am, include/bsp.h: 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-01-312007-01-30 Till Straumann <strauman@slac.stanford.edu>Till Straumann1-0/+14
* Makefile.am, preinstall.am, include/bsp.h: Use VME DMA support implemented by vmeUniverse and libbsp/powerpc/shared/vme/vme_universe_dma.c Added explanation for use of BSP_PIC_DO_EOI by BSP implementors who derive from this 'include/bsp.h'.
2005-11-042005-11-03 <strauman@slac.stanford.edu>Till Straumann1-9/+61
* Makefile.am, include/bsp.h: Added new shared pretaskinghook.c and zerobss.c files to list to be made. Added some explanations about CPU <-> PCI <-> VME address mapping issues.
2005-10-20Numerous changes and cleanups to support MVME2100.Eric Norum1-3/+3
2005-05-262005-05-26 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-2/+2
* include/bsp.h: New header guard.
2004-11-102004-11-10 Richard Campbell <richard.campbell@oarcorp.com>Joel Sherrill1-3/+37
* Makefile.am, configure.ac, bootloader/Makefile.am, include/bsp.h, wrapup/Makefile.am: Add MVME2100 BSP and MPC8240 support. There was also a significant amount of spelling and whitespace cleanup. * README.MVME2100: New file.
2004-05-232004-05-22 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-3/+0
PR 615/bsps * include/tm27.h: Removing USE_ENHANCE_INTR_API conditional check since that is the only kind this BSP supports and tm27 does not care which interrupt model is used as long as the macros are properly defined.
2004-04-232004-04-23 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-1/+1
PR 610/bsps * Makefile.am: Add include/tm27.h, Cosmetics. * include/tm27.h: Final cosmetics.
2004-04-232004-04-22 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2-47/+65
* include/bsp.h: Split out tmtest27 support. * include/tm27.h: New.
2004-04-21Remove duplicate white lines.Ralf Corsepius1-4/+0
2004-04-21Remove stray white spaces.Ralf Corsepius1-1/+1
2004-04-012004-04-01 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-2/+2
* include/bsp.h: Include <rtems/clockdrv.h> instead of <clockdrv.h>. * include/bsp.h: Include <rtems/console.h> instead of <console.h>.
2004-03-312004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-3/+3
* include/bsp.h: Convert to using c99 fixed size types.
2004-03-09Remove refs to Makefile*.Ralf Corsepius1-2/+0
2003-09-292003-09-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-59/+160
* Makefile.am: Merge-in include/Makefile.am. Reflect changes to bsp.am. * include/Makefile.am: Remove. * include/bsp.h: Add copy of ../shared/include/bsp.h (Violates BSP coding standards). * configure.ac: Reflect changes above. * irq/Makefile.am: Fix header installation. * motorola/Makefile.am: Fix header installation. * openpic/Makefile.am: Fix header installation. * pci/Makefile.am: Fix header installation.
2003-08-162003-08-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-2/+2
Makefile.am: Reflect having moved automake. bootloader/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. irq/Makefile.am: Reflect having moved automake. motorola/Makefile.am: Reflect having moved automake. openpic/Makefile.am: Reflect having moved automake. pci/Makefile.am: Reflect having moved automake. residual/Makefile.am: Reflect having moved automake. start/Makefile.am: Reflect having moved automake. startup/Makefile.am: Reflect having moved automake. vectors/Makefile.am: Reflect having moved automake. vme/Makefile.am: Reflect having moved automake. wrapup/Makefile.am: Reflect having moved automake.
2002-07-242002-07-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-9/+14
* include/Makefile.am: Fix preinstallation. * bootloader: Eliminate $(INCLUDES).
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]). * bootloader/Makefile.am: Remove AUTOMAKE_OPTIONS. * Makefile.am: Remove AUTOMAKE_OPTIONS. * clock/Makefile.am: Remove AUTOMAKE_OPTIONS. * console/Makefile.am: Remove AUTOMAKE_OPTIONS. * include/Makefile.am: Remove AUTOMAKE_OPTIONS. * irq/Makefile.am: Remove AUTOMAKE_OPTIONS. * motorola/Makefile.am: Remove AUTOMAKE_OPTIONS. * openpic/Makefile.am: Remove AUTOMAKE_OPTIONS. * pci/Makefile.am: Remove AUTOMAKE_OPTIONS. * residual/Makefile.am: Remove AUTOMAKE_OPTIONS. * start/Makefile.am: Remove AUTOMAKE_OPTIONS. * startup/Makefile.am: Remove AUTOMAKE_OPTIONS. * vectors/Makefile.am: Remove AUTOMAKE_OPTIONS. * wrapup/Makefile.am: Remove AUTOMAKE_OPTIONS.
2001-11-212001-11-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-2/+3
* Makefile.am: Add @exceptions@ to SUBDIRS; Remove need_motorola_powerpc. * configure.ac: Apply RTEMS_BSPOPTS_*(*) to merge-in settings from make/custom/mcp750.cfg, make/custom/mvme2307.cfg; Remove need_motorola_powerpc; Add RTEMS_PPC_EXCEPTIONS([new]). * include/Makefile.am: Replace PREINSTALL_FILES with TMPINSTALL_FILES, include force-preinstall.am. * wrapup/Makefile.am: Apply @exceptions@.
2001-11-142001-11-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-1/+9
* configure.ac: Add bspopts.h. * include/.cvsignore: Add stamp-h* and bspopts.h*. * include/Makefile.am: Add bspopts.h. * pci/Makefile.am: Append -O2 to AM_CFLAGS.
2001-09-272001-09-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-1/+1
* include/Makefile.am: Use 'PREINSTALL_FILES ='. * residual/Makefile.am: Use 'PREINSTALL_FILES ='. * vectors/Makefile.am: Use 'PREINSTALL_FILES ='. * pci/Makefile.am: Use 'PREINSTALL_FILES ='. * openpic/Makefile.am: Use 'PREINSTALL_FILES ='. * bootloader/Makefile.am: Use 'CLEANFILES ='.
2000-06-12Merged from 4.5.0-beta3aJoel Sherrill1-2/+2
2000-04-13Patch rtems-rc-4.5.0-13-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.Joel Sherrill1-0/+2
adds .cvsignore.