| Commit message (Collapse) | Author | 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().
|
|
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/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.
|
|
* 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.
|
|
|
|
* include/bsp.h: New header guard.
|
|
* 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.
|
|
* 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.
|
|
* PCI_bus/PCI.h, clock/clock.c, console/85c30.c, console/85c30.h,
console/console.c, console/consolebsp.h,
console/consolereserveresources.c, console/tbl85c30.c, include/bsp.h,
include/coverhd.h, include/gen2.h, include/tod.h, startup/FPGA.c,
startup/bspclean.c, startup/bspstart.c, startup/genpvec.c,
startup/setvec.c, startup/vmeintr.c, timer/timer.c, tod/tod.c: URL
for license changed.
|
|
This was tracked as PR87.
* README, configure.ac, include/Makefile.am, include/bsp.h,
start/start.S, startup/FPGA.c, startup/Makefile.am, tod/Makefile.am:
Eliminated conditional code for generation 1 boards as these are
no longer available.
* include/gen1.h, startup/82378zb.c, tod/tod_g1.c: Deleted.
|
|
* PCI_bus/PCI.h, clock/clock.c, console/85c30.c, console/console.c,
console/consolebsp.h, console/consolereserveresources.c,
console/tbl85c30.c, include/bsp.h, include/coverhd.h, include/gen1.h,
include/gen2.h, startup/82378zb.c, startup/FPGA.c,
startup/bspstart.c, startup/genpvec.c, startup/setvec.c,
startup/vmeintr.c, timer/timer.c: Fixed typo.
|
|
* 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.
|
|
|
|
|
|
portion is now in the libchip tree and the dmv177 configuration is in
the dmv177 bsp. The performance impact of libchip'ing this driver
was minimal.
|
|
|
|
|
|
|
|
|
|
This was called the dmv170 BSP in that source tree but since the DMV171
is now obsolete, we have transitioned to the DMV177 and have no intention
of checking compatibility with any other models.
|
|
code in each BSP's bspstart.c. These changes were:
+ confdefs.h now knows libio's semaphore requirements
+ shared/main.c now copies Configuration to BSP_Configuration
+ shared/main.c fills in the Cpu_table with default values
This removed the need for rtems_libio_config() and the constant
BSP_LIBIO_MAX_FDS in every BSP. Plus now the maximum number of open
files can now be set on the gcc command line.
|
|
|