| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Include all cpukit/*/header.am files in cpukit/Makefile.am. This gets
rid of all subtree Makefile.am and the sudirs hack.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Remove the CPU_PROVIDES_IDLE_THREAD_BODY option to avoid unnecessary
conditional compilation.
Close #3539.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
The aim of this file is to encapsulate CPU port implementation details.
This helps to hide implementation details from <rtems.h> which
indirectly includes <rtems/score/cpu.h>.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of SPRG0 (= special purpose register 272) use the new global
symbol _PPC_INTERRUPT_DISABLE_MASK to store the interrupt disable mask.
The benefit is that it is now possible to disable interrupts without
further run-time initialization in boot_card().
At least on Freescale e500 cores this leads also to a faster execution
since the mfmsr and mfspr instruction require four cycles to complete.
The instructions to load the mask value can execute while the mfmsr is
in progress.
|
|
|
|
|
| |
Use a ticket lock implementation based on atomic operations. Delete CPU
port specific SMP lock implementations.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Use INTERNAL_ERROR_CPU_ISR_INSTALL_VECTOR on PowerPC for
_CPU_ISR_install_vector().
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html
for details.
|
| |
|
|
|
|
| |
* Makefile.am: Reformat.
|
|
|
|
|
|
|
|
| |
* rtems/new-exceptions/cpu.h: Removed file.
* Makefile.am, preinstall.am: Reflect change above.
* rtems/score/cpu.h: Include <rtems/score/types.h> first. Added
contents of <rtems/new-exceptions/cpu.h>.
* rtems/score/types.h: Use <rtems/score/basedefs.h> header file.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* cpu.c: New (Stub file for consistency with other ports).
* Makefile.am: Reflect changes above.
|
|
|
|
|
| |
* Makefile.am: Split out preinstallation rules.
* preinstall.am: New (Split out from Makefile.am).
|
|
|
|
|
|
|
| |
PR 754/rtems
* rtems/asm.h: New (relocated from .).
* asm.h: Remove (moved to rtems/asm.h).
* Makefile.am: Reflect changes above.
|
|
|
|
|
|
|
|
|
| |
* rtems/score/powerpc.h: New (Copied and renamed from rtems/score/ppc.h)
for consistency with other ports.
* rtems/score/ppc.h: Deprecation wrapper to rtems/score/powerpc.h.
* Makefile.am: Reflect changes above.
* rtems/score/cpu.h: Include rtems/score/powerpc.h instead of
rtems/score/ppc.h.
|
|
|
|
|
|
| |
* configure.ac: Remove (Merged into $(top_srcdir)/configure.ac).
* Makefile.am: Don't include multilib.am.
Reflect merging configure.ac into $(top_srcdir)/configure.ac.
|
|
|
|
| |
* Makefile.am: Install asm.h to $(includedir)/rtems.
|
|
|
|
| |
* Makefile.am: Add PREINSTALL_DIRS.
|
|
|
|
|
| |
* Makefile.am: Re-add dirstamps to PREINSTALL_FILES.
Add PREINSTALL_FILES to CLEANFILES.
|
|
|
|
| |
* Makefile.am: Include compile.am, again.
|
|
|
|
| |
* Makefile.am: Convert to using automake compilation rules.
|
|
|
|
| |
* Makefile.am: Use mkdir_p. Remove dirs from PREINSTALL_FILES.
|
|
|
|
| |
* Makefile.am:Restore further parts having been lost.
|
|
|
|
| |
* Makefile.am: Restore file having been broken in last commit.
|
|
|
|
| |
* Makefile.am: Add $(dirstamp) to preinstallation rules.
|
|
|
|
| |
* Makefile.am: Remove all LIB-related rules.
|
|
|
|
| |
* Makefile.am: Don't use gmake rules for preinstallation.
|
|
|
|
|
| |
* configure.ac: Require autoconf-2.57 + automake-1.7.2.
* Makefile.am: Eliminate C_O_FILES, S_O_FILES, libscorecpu_a_OBJECTS.
|
|
|
|
| |
* Makefile.am: Build libscorecpu.a instead of rtems-cpu.rel.
|
|
|
|
| |
* Makefile.am: Use .$(OBJEXT) instead of .o.
|
|
|
|
|
| |
* Makefile.am: Include $(top_srcdir)/../../../automake/*.am.
Use ../../../aclocal.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* asm.h: Include cpuopts.h instead of targopts.h.
* rtems/new-exceptions/cpu.h: Relocated from
libbsp/powerpc/support/new_exception_processing/rtems/score/cpu.h
* rtems/old-exceptions/cpu.h: Relocated from
c/src/lib/libbsp/powerpc/support/old_exception_processing/rtems/score/cpu.h
* rtems/powerpc/registers.h: Relocated and renamed from
libcpu/powerpc/shared/include/cpu.h.
* rtems/score/cpu.h: New.
* Makefile.am: Reflect changes above.
|
|
|
|
|
|
|
| |
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h.
* rtems/score/ppctypes.h: Removed.
* rtems/score/types.h: New file via CVS magic.
* Makefile.am, rtems/score/cpu.h: Account for name change.
|
|
|
|
|
|
|
| |
* configure.ac:
AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
AM_INIT_AUTOMAKE([no-define foreign 1.6]).
* Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
|
|
| |
* Makefile.am: Reflect changes from 2002-01-23.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* rtems/Makefile.am: New.
* rtems/.cvsignore: New.
* rtems/score/Makefile.am: New.
* rtems/score/.cvsignore: New.
* rtems/score/ppc.h: Relocated from shared/.
* rtems/score/ppctypes.h: Relocated from shared/.
* asm.h: Relocated from shared/.
* shared/Makefile.am: Removed.
* shared/asm.h: Removed.
* shared/ppc.h: Removed.
* shared/ppctypes.h: Removed.
* shared/.cvsignore: Removed.
* Makefile.am: Reflect changes above.
* configure.ac: Reflect changes above.
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
from score/cpu to libcpu because the determination of which to use is
based on RTEMS_CPU_MODEL. Thus it can not be determined based solely on
multilib information.
|