| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
closes #2544.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
* include/bsp.h, startup/m68k-stub.c, startup/trace.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
|
|
|
|
| |
* include/bsp.h: Add BSP_SMALL_MEMORY.
|
|
|
|
| |
* include/bsp.h: Remove unnecessary boilerplate comments.
|
|
|
|
|
|
|
|
| |
* Makefile.am, 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.
* startup/bspclean.c: Removed.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
| |
* include/bsp.h: New header guard.
|
|
|
|
|
| |
* 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).
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* c/src/lib/libbsp/m68k/ods68302/clock/ckinit.c,
c/src/lib/libbsp/m68k/ods68302/include/bsp.h,
c/src/lib/libbsp/m68k/ods68302/startup/cpuboot.c,
c/src/lib/libbsp/m68k/ods68302/startup/crc.c,
c/src/lib/libbsp/m68k/ods68302/startup/gdb-hooks.c,
c/src/lib/libbsp/m68k/ods68302/startup/m68302scc.c,
c/src/lib/libbsp/m68k/ods68302/timer/timer.c: Include
<rtems/m68k/m68302.h> instead of <m68302.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>.
|
|
|
|
|
|
|
| |
* clock/ckinit.c, include/bare.h, include/bsp.h, include/crc.h,
startup/bspstart.c, startup/cpuboot.c, startup/crc.c,
startup/gdb-hooks.c, startup/m68302scc.c, timer/timer.c: Convert to
using c99 fixed size types.
|
|
|
|
|
| |
* include/bsp.h: Replace stringification madness to pick up bare.h
(Doesn't work with gcc >= 3.3) with a somewhat cleaner madness.
|
|
|
|
|
|
| |
* clock/ckinit.c, console/console.c, include/bsp.h, include/coverhd.h,
startup/bspclean.c, startup/bspstart.c, timer/timer.c: URL for
license changed.
|
|
|
|
|
|
|
|
|
| |
* startup/Makefile.am: Remove -DGDB_MONITOR_ACTIVE (Not used
anywhere).
Add ODS60302_DEBUG conditional.
* include/bsp.h: Fix broken bsp_cat macros (Not compliant to gcc31).
* configure.ac: Add --enable-ods60302-debug.
Add ODS60302_DEBUG conditional.
|
|
|
|
|
|
|
|
| |
This was tracked as PR39.
* include/bsp.h, start/cpuboot.c, start/reset.S, startup/debugger,
startup/linkcmds, startup/rom: Eliminated required definition of
macros in the custom file for the BSP to compile. The ROM and ROM
address and size settings are now linker script items.
|
|
|
|
| |
* include/bsp.h: Renamed delay() to rtems_bsp_delay().
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
<cjohns@plessey.com.au>. This patch includes the ods68302 bsp,
the RTEMS++ class library, and the rtems++ test.
|