| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Updates #2458.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Some includes may use C++ and this conflicts if surrounded extern "C".
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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().
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
* PCI_bus/PCI.c, console/console.c, include/bsp.h, include/tm27.h,
startup/Hwr_init.c, startup/bspstart.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
|
|
|
|
| |
* include/irq-config.h: Removed file.
|
| |
|
|
|
|
|
| |
* include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
Should be automatically handled by confdefs.h or the application.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am, configure.ac, preinstall.am, PCI_bus/PCI.c,
PCI_bus/PCI.h, PCI_bus/flash.c, PCI_bus/universe.c, console/85c30.c,
console/85c30.h, console/console.c, console/consolebsp.h,
console/tbl85c30.c, include/bsp.h, include/gen2.h,
include/irq-config.h, include/tm27.h, irq/FPGA.c, irq/irq.h,
irq/irq_init.c, start/start.S, startup/Hwr_init.c,
startup/bspstart.c, startup/linkcmds, timer/timer.c, tod/tod.c,
vme/VMEConfig.h: Updated and tested with latest interrupt source.
Modified with latest memory allocation, but this needs testing.
* irq/no_pic.c: New file.
|
|
|
|
|
|
|
|
| |
* PCI_bus/PCI.c, PCI_bus/PCI.h, PCI_bus/flash.c, console/85c30.h,
console/console.c, console/consolebsp.h, console/tbl85c30.c,
include/gen2.h, irq/FPGA.c, irq/irq.c, irq/irq.h, irq/irq_init.c,
pci/no_host_bridge.c, startup/bspclean.c, startup/bspstart.c,
startup/genpvec.c, startup/vmeintr.c: File head clean up.
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am, preinstall.am, PCI_bus/PCI.c, PCI_bus/PCI.h,
PCI_bus/universe.c, console/85c30.c, console/85c30.h,
console/consolebsp.h, console/tbl85c30.c, include/gen2.h,
startup/Hwr_init.c, startup/bspstart.c, startup/genpvec.c,
startup/setvec.c, startup/vmeintr.c, timer/timer.c, tod/tod.c,
vme/VMEConfig.h: Some clean up.
* include/coverhd.h: Removed.
|
|
|
|
|
| |
* include/irq-config.h: New file.
* startup/spurious.c: Removed.
|
|
|
|
|
|
|
| |
* Makefile.am, preinstall.am, PCI_bus/universe.c, console/console.c,
include/bsp.h, irq/FPGA.c, irq/irq.c, startup/Hwr_init.c,
startup/bspstart.c, startup/vmeintr.c: Modifications required to run
on hardware. Some cleanup.
|
|
|
|
|
| |
* include/bsp.h, startup/bspstart.c: Remove unused BSP_INIT_STACK_SIZE
now that the linkcmds accounts for the starting stack.
|
|
|
|
|
|
| |
* Makefile.am, include/bsp.h, startup/bspstart.c, startup/linkcmds: Use
PowerPC level shared bsp_get_work_area() implementation.
* startup/bspgetworkarea.c: Removed.
|
|
|
|
| |
* include/bsp.h: Remove unnecessary boilerplate comments.
|
|
|
|
|
| |
* include/bsp.h: Eliminate definitions of BSP_LIBIO_MAX_FDS since this
is NOT used anywhere.
|
|
|
|
|
|
|
| |
* Makefile.am, configure.ac, include/bsp.h, startup/bspstart.c: Add use
of bsp_get_work_area() in its own file and rely on BSP Framework to
perform more initialization.
* startup/bspgetworkarea.c: New file.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
| |
* Makefile.am, README, configure.ac, console/85c30.c,
console/console.c, console/consolebsp.h, include/bsp.h,
include/gen2.h, irq/FPGA.c, irq/irq.c, irq/irq.h, irq/irq_init.c,
start/start.S, startup/bspstart.c, startup/genpvec.c,
startup/linkcmds, timer/timer.c, tod/tod.c: Initiate update and
testing. Runs hello but does not run ticker yet.
|
|
|
|
|
|
| |
* include/bsp.h, startup/bspstart.c: Eliminate copies of the
Configuration Table. Use the RTEMS provided accessor macros to obtain
configuration fields.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* PCI_bus/universe.c, console/console.c, include/bsp.h, irq/FPGA.c,
startup/bspstart.c, startup/genpvec.c, startup/spurious.c: Eliminate
DEBUG_puts.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am, preinstall.am,
* vme/vmeconfig.c (removed), vme/VMEConfig.h (added):
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
* irq/irq.c, include/gen2.h:
removed _BSP_vme_bridge_irq variable and BSP_PIC_DO_EOI definition.
Support for VME IRQ software priorities was incomplete/incorrect
on this BSP.
|
| |
|
|
|
|
| |
* include/bsp.h: New header guard.
|
|
|
|
| |
* include/gen2.h: Changed rtems_unsigned types to uint types
|
|
|
|
| |
* include/tm27.h: Correct error in tm27 test
|
|
|
|
|
|
|
|
| |
* score603e/Makefile.am, score603e/configure.ac,
score603e/console/console.c, score603e/include/bsp.h,
score603e/include/gen2.h, score603e/include/tm27.h,
score603e/startup/bspstart.c: Update score603e to new exception model
NOTE: These modifications have not been tested on hardware.
|
|
|
|
|
|
|
| |
PR 778/bsps
* include/bsp.h, include/gen2.h, startup/FPGA.c, startup/Hwr_init.c,
startup/bspstart.c, tod/tod.c:
modify SCORE_.. to BSP_.. for externally used define's.
|
|
|
|
|
| |
* Makefile.am: Use ../../shared/tod.h instead of include/tod.h.
* include/tod.h: Remove.
|
|
|
|
|
|
| |
PR 610/bsps
* Makefile.am: Add include/tm27.h, Cosmetics.
* include/tm27.h: Final cosmetics.
|
|
|
|
|
| |
* include/bsp.h: Split out tmtest27 support.
* include/tm27.h: New.
|
|
|
|
|
| |
PR 613/bsps
* include/bsp.h: Remove MAX_LONG_TEST_DURATION.
|
|
|
|
|
| |
PR 614/bsps
* include/bsp.h: Remove MAX_SHORT_TEST_DURATION (Unused).
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* vectors/vectors.S: Include <rtems/asm.h> instead of <asm.h>.
* startup/genpvec.c: Include <rtems/chain.h> instead of <chain.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>.
* console/consolebsp.h: Include <rtems/ringbuf.h> instead of <ringbuf.h>.
* startup/vmeintr.c: Include <rtems/vmeintr.h> instead of <vmeintr.h>.
|
|
|
|
|
|
|
|
|
| |
* PCI_bus/PCI.c, PCI_bus/PCI.h, PCI_bus/flash.c, PCI_bus/universe.c,
clock/clock.c, console/85c30.c, console/console.c,
console/consolebsp.h, include/bsp.h, include/gen2.h, startup/FPGA.c,
startup/Hwr_init.c, startup/bspstart.c, startup/genpvec.c,
startup/spurious.c, startup/vmeintr.c, timer/timer.c, tod/tod.c:
Convert to using c99 fixed size types.
|
| |
|