summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/mvme5500/include/bsp.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove make preinstallChris Johns2018-01-251-206/+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.
* powerpc: Replace BSP_panic() with rtems_panic()Sebastian Huber2017-11-221-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.
* powerpc/mvme5500: Remove include of <rtems/console.h> from <bsp.h> and fix ↵Joel Sherrill2016-03-291-1/+0
| | | | warnings
* powerpc/mvme5500/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
* powerpc/mvme5500: Fix warningsJoel Sherrill2014-10-191-44/+71
|
* 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().
* 2011-04-10 Kate Feng <feng@bnl.gov>Joel Sherrill2011-06-171-4/+0
| | | | | | | | | | | | | PR 1786/bsps * Makefile.am: Add support for Altivec. * startup/bspstart.c, Makefile.am: Use shared/startup/zerobss.c instead. * make/custom/mvme5500.cfg: Change CPU_CFLAGS to "-mcpu=7450 -mtune=7450 -Dmpc7455" * irq/BSP_irq.c, pci/detect_host_bridge.c, pci.c, pcifinddevice.c: Remove warnings. * vme/VMEConfig.h, include/bsp.h: use VME shared IRQ handlers. * network/if_100MHz/GT64260eth.c: Recycle the Rx mbuf if there is any Rx error.
* 2011-05-18 Till Straumann <strauman@slac.stanford.edu>Till Straumann2011-05-181-2/+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-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-111-4/+4
| | | | | * include/bsp.h, include/tm27.h: Use "__asm__" instead of "asm" for improved c99-compliance.
* 2011-01-28 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-01-281-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.
* Whitespace removal.Ralf Corsepius2009-11-301-6/+6
|
* 2009-08-21 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-211-3/+0
| | | | | * include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS. Should be automatically handled by confdefs.h or the application.
* 2009-05-08 Kate Feng <feng1@bnl.gov>Joel Sherrill2009-05-081-20/+70
| | | | | | | | | | | | | | * include/bsp.h, start/start.S, startup/bspstart.c: added CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK in bsp.h. removed BSP_INIT_STACK_SIZE in bsp.h -- it uses __stack defined by the linker script (shared/startup/linkcmds) for the initial stack. replaced __rtems_end+4096 with __stack in start.S Removed legacy code in bspstart.c (inherited from old mvme2307 BSP but not relevant to this one) that tested trapping into PPCBug. Changed ConfVPD_buff[] to be static and added ReadConfVPD_buf() in bspstart.c
* 2008-09-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-221-1/+0
| | | | | | | | | | | * Makefile.am, README.booting, include/bsp.h, startup/bspclean.c, vectors/exceptionhandler.c: 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. * startup/bspreset.c: New file. * startup/reboot.c: Removed.
* 2008-09-21 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-09-211-5/+0
| | | | * include/bsp.h: Remove define of BSP_ZERO_WORKSPACE_AUTOMATICALLY.
* 2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-181-0/+5
| | | | | * Makefile.am, configure.ac, include/bsp.h, startup/bspstart.c: Use PowerPC level shared bsp_get_work_area() implementation.
* 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-111-1/+0
| | | | | | * 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-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-031-0/+5
| | | | | | | | | | * Makefile.am, include/bsp.h, 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-09-07 Kate Feng <feng1@bnl.gov>Joel Sherrill2007-09-131-1/+26
| | | | | | | | | | | | | | | | * ChangeLog, Makefile.am, README, README.booting, README.irq, preinstall.am, GT64260/MVME5500I2C.c, include/bsp.h, irq/irq.c, irq/irq.h, irq/irq_init.c, pci/detect_host_bridge.c, pci/pci.c, pci/pci_interface.c, pci/pcifinddevice.c, start/preload.S, startup/bspclean.c, startup/bspstart.c, startup/pgtbl_activate.c, startup/reboot.c, vectors/bspException.h, vectors/exceptionhandler.c: Merge my improvements in this BSP including a new network driver for the 1GHz NIC. * network/if_100MHz/GT64260eth.c, network/if_100MHz/GT64260eth.h, network/if_100MHz/GT64260ethreg.h, network/if_100MHz/Makefile.am, network/if_1GHz/Makefile.am, network/if_1GHz/POSSIBLEBUG, network/if_1GHz/if_wm.c, network/if_1GHz/if_wmreg.h, network/if_1GHz/pci_map.c, network/if_1GHz/pcireg.h: New files.
* 2007-01-30 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-01-311-7/+0
| | | | | | | | | * Makefile.am, preinstall.am, include/bsp.h, * vme/vmeconfig.c (removed), vme/VME.h (removed): cleaned up vme support - use files from libbsp/powerpc/shared/vme and define BSP specifica in VMEConfig.h. Use VME DMA support implemented by vmeUniverse and libbsp/powerpc/shared/vme/vme_universe_dma.c
* 2005-11-03 Till Straumann <strauman@slac.stanford.edu>Till Straumann2005-11-041-1/+1
| | | | | | * include/bsp.h, vme/vmeconfig.c: Reverted redefinition of _IO_BASE; this normally points to ISA space but is misused by this BSP (inb/outb & friends are all over the place).
* 2005-11-03 Till Straumann <strauman@slac.stanford.edu>Till Straumann2005-11-041-1/+1
| | | | * include/bsp.h: fixed misuse of _IO_BASE
* 2005-05-26 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-05-261-2/+2
| | | | * include/bsp.h: New header guard.
* 2005-05-12 Jennifer Averett <jennifer.averett@oarcorp.com>Jennifer Averett2005-05-121-0/+10
| | | | | | | | * README.VME, include/bsp.h, irq/irq.h, network/GT64260eth.c, pci/detect_host_bridge.c, pci/gtpcireg.h, pci/pci.c, pci/pci.h, pci/pci_interface.c, pci/pcifinddevice.c: Submitted by Kate Feng <feng1@bnl.gov> as RTEMS-MVME5500 BSP v1.1 release. Modifications made to merge this release with the current tree.
* Add definition.Eric Norum2004-11-301-0/+1
|
* 2004-10-21 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-10-211-2/+2
| | | | | * start/preload.S, include/bsp.h, vectors/exceptionhandler.c, startup/bspstart.c: Misc. adaptations to rtems-4.7.
* 2004-10-20 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2004-10-201-1/+1
| | | | | | | | | | | | * README, configure.ac, GT64260/Makefile.am, include/bsp.h, irq/Makefile.am, irq/irq.c, irq/irq.h, irq/irq_init.c, network/GT64260ethreg.h, pci/pci.c, startup/bspstart.c: CVS Id string and license corrected. * GT64260/Makefile.in, clock/Makefile.in, console/Makefile.in, include/Makefile.am, include/Makefile.in, irq/Makefile.in, network/Makefile.in, pci/Makefile.in, start/Makefile.in, startup/Makefile.in, vectors/Makefile.in, vme/Makefile.in, wrapup/Makefile.in: Removed.
* Add MVME550 BSPEric Norum2004-10-201-0/+109