| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Update #3254.
|
|
|
|
|
|
|
| |
This header file is only used by motorola_powerpc, so not shared.
Update #3254.
Update #3268.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
and fix warnings
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
* include/tm27.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
|
|
|
|
| |
* include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
Should be automatically handled by confdefs.h or the application.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* include/bsp.h: Add use of bsp_get_work_area() in its own file and
rely on BSP Framework to perform more initialization.
|
|
|
|
|
| |
* include/bsp.h: Eliminate copies of the Configuration Table. Use the
RTEMS provided accessor macros to obtain configuration fields.
|
|
|
|
| |
* export BSP_commandline_string variable.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
* 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'.
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
| |
* include/bsp.h: New header guard.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
* 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: Convert to using c99 fixed size types.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
* include/Makefile.am: Fix preinstallation.
* bootloader: Eliminate $(INCLUDES).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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@.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
| |
* 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 ='.
|
| |
|
|
|
|
| |
adds .cvsignore.
|