| Commit message (Collapse) | Author | Files | Lines |
|
This patch is a part of the BSP source reorganization.
Update #3285.
|
|
The previous cache manager support used a single souce file
(cache_manager.c) which included an implementation header (cache_.h).
This required the use of specialized include paths to find the right
header file. Change this to include a generic implementation header
(cacheimpl.h) in specialized source files.
Use the following directories and files:
* bsps/shared/cache
* bsps/@RTEMS_CPU@/shared/cache
* bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILY/start/cache.c
Update #3285.
|
|
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.
|
|
This is a cache manager implementation header file.
Update #3254.
|
|
Make sure also the size is cache aligned since otherwise we may have
some overlap with the next allocation block. A cache invalidate on this
area would be fatal.
|
|
This code was only referenced for r46xx CPU models. There are
no BSPs currently in the tree with this CPU model. The r46xx
was the original target for the MIPS port and it is likely that
the code has not been used on actual hardware in many years.
All MIPS BSPs successfully built after this was removed.
|
|
Putting the duart in libcpu was very optimistic and presumptuous.
It has never been used again on another SoC and is BSP specific.
|
|
|
|
|
|
* Makefile.am: Add shared/interrupts/isr_entries.h.
|
|
|
|
* Makefile.am: Remove bogus CFLAGS_OPTIMIZE_V.
|
|
|
|
* Makefile.am, configure.ac: Reflect addition of rm52xx, tx49.
|
|
|
|
|
|
* configure.ac: Remove RTEMS_CHECK_CUSTOM_BSP.
* Makefile.am: Distibute mongoosev's READMEs
|
|
* preinstall.am: New.
* Makefile.am: Merge in au1x00/Makefile.am, mongoosev/Makefile.am,
r46xx/Makefile.am, shared/Makefile.am.
Include preinstall.am.
* au1x00/Makefile.am, mongoosev/Makefile.am,
r46xx/Makefile.am, shared/Makefile.am: Remove.
* configure.ac: Reflect changes above.
|
|
* Makefile.am, configure.ac: New CPU.
* shared/interrupts/installisrentries.c,
shared/interrupts/isr_entries.S: Added CPU32 support.
* au1x00/Makefile.am, au1x00/include/au1x00.h,
au1x00/vectorisrs/maxvectors.c, au1x00/vectorisrs/vectorisrs.c: New CPU.
|
|
* clock/Makefile.am, timer/Makefile.am: Remove.
* r46xx/Makefile.am: Built timer.rel, clock.rel.
Add PREINSTALL_DIRS.
* Makefile.am: Remove timer, clock.
* tx39/Makefile.am, mongoosev/Makefile.am, shared/Makefile.am:
Add PREINSTALL_DIRS.
* configure.ac: Reflect removing clock/Makefile.am,
timer/Makefile.am.
Add subdir-objects to AUTOMAKE_OPTIONS.
|
|
* clock/Makefile.am: Convert to using automake compilation rules.
* mongoosev/Makefile.am: Ditto.
* r46xx/Makefile.am: Ditto.
* shared/Makefile.am: Ditto.
* timer/Makefile.am: Ditto.
* tx39/Makefile.am: Ditto.
* Makefile.am: Remove conditional subdirs.
* configure.ac: Add subdir-object to AUTOMAKE_OPTIONS.
Require automake-1.8.2. Add AM_PROG_CC_C_O.
|
|
* Makefile.am: Reformat.
* clock/Makefile.am: Reformat.
* mongoosev/Makefile.am: Reformat. Use dirstamps for preinstallation.
* tx39/Makefile.am: Ditto.
* shared/cache/Makefile.am: Ditto.
* mongoosev/duart/Makefile.am: Ditto.
* mongoosev/vectorisrs/Makefile.am: Reformat.
* r46xx/vectorisrs/Makefile.am: Reformat.
* shared/Makefile.am: Reformat.
* shared/interrupts/Makefile.am: Reformat.
* timer/Makefile.am: Reformat.
* tx39/vectorisrs/Makefile.am: Reformat.
|
|
* Makefile.am: Reflect having moved aclocal/.
|
|
Makefile.am: Reflect having moved automake.
clock/Makefile.am: Reflect having moved automake.
mongoosev/Makefile.am: Reflect having moved automake.
mongoosev/duart/Makefile.am: Reflect having moved automake.
mongoosev/vectorisrs/Makefile.am: Reflect having moved automake.
r46xx/Makefile.am: Reflect having moved automake.
r46xx/vectorisrs/Makefile.am: Reflect having moved automake.
shared/Makefile.am: Reflect having moved automake.
shared/cache/Makefile.am: Reflect having moved automake.
shared/interrupts/Makefile.am: Reflect having moved automake.
timer/Makefile.am: Reflect having moved automake.
tx39/Makefile.am: Reflect having moved automake.
tx39/include/Makefile.am: Reflect having moved automake.
tx39/vectorisrs/Makefile.am: Reflect having moved automake.
|
|
* configure.ac:
AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
AM_INIT_AUTOMAKE([no-define foreign 1.6]).
* clock/Makefile.am: Remove AUTOMAKE_OPTIONS.
* Makefile.am: Remove AUTOMAKE_OPTIONS.
* mongoosev/duart/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mongoosev/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mongoosev/include/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mongoosev/vectorisrs/Makefile.am: Remove AUTOMAKE_OPTIONS.
* r46xx/vectorisrs/Makefile.am: Remove AUTOMAKE_OPTIONS.
* r46xx/Makefile.am: Remove AUTOMAKE_OPTIONS.
* shared/cache/Makefile.am: Remove AUTOMAKE_OPTIONS.
* shared/Makefile.am: Remove AUTOMAKE_OPTIONS.
* shared/interrupts/Makefile.am: Remove AUTOMAKE_OPTIONS.
* timer/Makefile.am: Remove AUTOMAKE_OPTIONS.
* tx39/include/Makefile.am: Remove AUTOMAKE_OPTIONS.
* tx39/Makefile.am: Remove AUTOMAKE_OPTIONS.
* tx39/vectorisrs/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
* Added mongoose-v, mongoose-v/include, and mongoose-v/vectorisrs
directories.
* mongoosev/.cvsignore, mongoosev/Makefile.am, mongoosev/README,
mongoosev/duart/.cvsignore, mongoosev/duart/Makefile.am,
mongoosev/duart/README.mguart, mongoosev/duart/mg5uart.c,
mongoosev/duart/mg5uart.h, mongoosev/duart/mg5uart_reg.c,
mongoosev/include/.cvsignore, mongoosev/include/Makefile.am,
mongoosev/include/mongoose-v.h, mongoosev/vectorisrs/.cvsignore,
mongoosev/vectorisrs/Makefile.am, mongoosev/vectorisrs/vectorisrs.c:
New files.
* Makefile.am, configure.in, shared/interrupts/Makefile.am,
shared/interrupts/maxvectors.c: Added support for mongoosev.
* tx39/vectorisrs/vectorisrs.c: Corrected warning.
|
|
* Added r46xx directory.
* Makefile.am, configure.in: Modified to reflect addition of r46xx.
* shared/interrupts/installisrentries.c: Fixed typo.
* r46xx/.cvsignore, r46xx/Makefile.am,
r46xx/vectorisrs/.cvsignore, r46xx/vectorisrs/Makefile.am,
r46xx/vectorisrs/vectorisrs.c: New files.
|
|
* shared/.cvsignore, shared/Makefile.am,
shared/cache/.cvsignore, shared/cache/Makefile.am,
shared/cache/cache.c, shared/cache/cache_.h,
shared/interrupts/.cvsignore, shared/interrupts/Makefile.am,
shared/interrupts/installisrentries.c,
shared/interrupts/isr_entries.S,
shared/interrupts/maxvectors.c, tx39/.cvsignore,
tx39/Makefile.am, tx39/include/.cvsignore,
tx39/include/Makefile.am, tx39/include/tx3904.h: New file.
Moved some pieces of interrupt processing from score/cpu to
libcpu/mips since many interrupt servicing characteristics are
CPU model dependent. This patch addresses the number of interrupt
sources and where the ISR prologues are located. The only way to
currently install the ISR prologues requires that the prologues
be installed into RAM.
|
|
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
|
|
* Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal.
|
|
* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
Switch to GNU canonicalization.
|
|
Joel Sherrill <joel@OARcorp.com>
* This is a major reworking of the mips64orion port to use
gcc predefines as much as possible and a big push to multilib
the mips port. The mips64orion port was copied/renamed to mips
to be more like other GNU tools. Alan did most of the technical
work of determining how to map old macro names used by the mips64orion
port to standard compiler macro definitions. Joel did the merge
with CVS magic to keep individual file history and did the BSP
modifications. Details follow:
* Makefile.am: Made clock and timer subdirectories conditional.
* configure.in: Ditto.
* clock/clock.S: Switch from using <idtmon.h> to <asm.h>.
* clock/gettime.S: Switch from using <idtmon.h> to <asm.h>.
|
|
|
|
to automake by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
|
|
which ontains all what was left over from the other patches (Primarily
minor configuration cleanups).
To apply:
patch -p1 < rtems-rc-19991203-9.diff
./bootstrap
|
|
which adds automake support to libbsp/bare.
|