summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/mips/Makefile.am (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-10-10build: Include header.am in cpukit/Makefile.amSebastian Huber1-1/+0
Include all cpukit/*/header.am files in cpukit/Makefile.am. This gets rid of all subtree Makefile.am and the sudirs hack.
2018-10-10build: Merge score/cpu/*/Makefile.amSebastian Huber1-8/+0
2018-10-09build: Remove specialized CPPFLAGSSebastian Huber1-1/+0
2018-06-15Add _CPU_Counter_frequency()Sebastian Huber1-0/+1
Add rtems_counter_frequency() API function. Use it to initialize the counter value converter via the new system initialization step (RTEMS_SYSINIT_CPU_COUNTER). This decouples the counter implementation and the counter converter. It avoids an unnecessary pull in of the 64-bit integer division from libgcc. Update #3456.
2018-01-25Remove make preinstallChris Johns1-15/+1
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.
2016-11-07score: Add <rtems/score/cpuimpl.h>Sebastian Huber1-0/+1
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>.
2014-02-14score: Add CPU counter supportSebastian Huber1-0/+1
Add a CPU counter interface to allow access to a free-running counter. It is useful to measure short time intervals. This can be used for example to enable profiling of critical low-level functions. Add two busy wait functions rtems_counter_delay_ticks() and rtems_counter_delay_nanoseconds() implemented via the CPU counter.
2013-05-01Using the generic atomic ops to implement UP mode atomic for all ↵WeiY1-0/+1
architectures. SMP atomic port will be later.
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill1-4/+0
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.
2012-05-07Revert: Remove CVS IdsJoel Sherrill1-0/+4
See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html for details.
2012-05-04Remove CVS-Ids.Ralf Corsépius1-4/+0
2011-05-172011-05-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-3/+5
* Makefile.am: Reformat.
2006-01-12Remove all-local.Ralf Corsepius1-2/+0
2006-01-12CleanupsRalf Corsepius1-4/+0
2005-02-082005-02-08 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-44/+4
* Makefile.am: Split out preinstallation rules. * preinstall.am: New (Split out from Makefile.am).
2005-02-042005-02-04 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-2/+2
PR 754/rtems * rtems/asm.h: New (relocated from .). * asm.h: Remove (moved to rtems/asm.h). * Makefile.am: Reflect changes above.
2005-02-012005-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-3/+3
PR rtems/752 * rtems/mips/idtcpu.h rtems/mips/iregdef.h: New (relocated from .). New header guards. * idtcpu.h, iregdef.h: Remove. * Makefile.am: Reflect changes above.
2005-01-072005-01-07 Ralf Corsepius <ralf.corsepius@freenet.de>Ralf Corsepius1-1/+1
* Makefile.am: Eliminate CFLAGS_OPTIMIZE_V.
2005-01-012005-01-01 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-9/+3
* Makefile.am: Remove build-variant support.
2004-04-06Cosmetics.Ralf Corsepius1-1/+0
2004-04-062004-04-06 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-4/+2
* 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.
2004-04-032004-04-02 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-12/+13
* Makefile.am: Install iregdefs.h and idtcpu.h to $(includedir)/rtems/mips. * cpu_asm.S: Include <rtems/mips/iregdef.h> instead of <iregdef.h>. * rtems/score/mips.h, cpu_asm.S: Include <rtems/mips/idtcpu.h> instead of <idtcpu.h>.
2004-04-012004-04-01 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-4/+12
* Makefile.am: Install asm.h to $(includedir)/rtems.
2004-01-192004-01-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-2/+4
* Makefile.am: Add PREINSTALL_DIRS.
2004-01-142004-01-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-0/+4
* Makefile.am: Re-add dirstamps to PREINSTALL_FILES. Add PREINSTALL_FILES to CLEANFILES.
2004-01-112004-01-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-1/+1
* Makefile.am: Include compile.am, again.
2004-01-112004-01-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-14/+10
* Makefile.am: Convert to using automake compilation rules.
2003-12-122003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-4/+2
* Makefile.am: Use mkdir_p. Remove dirs from PREINSTALL_FILES.
2003-12-012003-12-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-14/+20
* Makefile.am:Restore further parts having been lost.
2003-12-012003-12-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-2/+60
* Makefile.am: Restore file having been broken in last commit.
2003-12-012003-12-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-67/+2
* Makefile.am: Remove TMPINSTALL_FILES.
2003-11-302003-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-14/+20
* Makefile.am: Add $(dirstamp) to preinstallation rules.
2003-11-232003-11-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-19/+32
* Makefile.am: Don't use gmake rules for preinstallation.
2002-12-112002-12-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-5/+3
* configure.ac: Require autoconf-2.57 + automake-1.7.2. * Makefile.am: Eliminate C_O_FILES, S_O_FILES, libscorecpu_a_OBJECTS.
2002-07-262002-07-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-7/+5
* Makefile.am: Build libscorecpu.a instead of rtems-cpu.rel.
2002-07-222002-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-2/+2
* Makefile.am: Use .$(OBJEXT) instead of .o.
2002-07-032002-07-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-6/+1
* rtems.c: Remove. * Makefile.am: Reflect changes above.
2002-06-172002-06-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-5/+5
* Makefile.am: Include $(top_srcdir)/../../../automake/*.am. Use ../../../aclocal.
2002-04-032001-04-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-1/+1
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h. * rtems/score/mipstypes.h: Removed. * rtems/score/types.h: New file via CVS magic. * Makefile.am, rtems/score/cpu.h: Account for name change.
2002-03-282002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-1/+0
* configure.ac: AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS). AM_INIT_AUTOMAKE([no-define foreign 1.6]). * Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-01-302002-01-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-15/+25
* rtems/Makefile.am: Removed. * rtems/score/Makefile.am: Removed. * configure.ac: Reflect changes above. * Makefile.am: Reflect changes above.
2001-12-192001-12-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-3/+3
* Makefile.am: Add multilib support.
2001-09-272001-09-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-1/+1
* rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='. * Makefile.am: Use 'PREINSTALL_FILES ='.
2001-02-052001-02-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-4/+3
* Makefile.am, rtems/score/Makefile.am: Apply include_*HEADERS instead of H_FILES.
2000-12-132000-12-13 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-2/+2
* cpu_asm.h: Removed. * Makefile.am: Remove cpu_asm.h. * rtems/score/mips64orion.h: Renamed mips.h. * rtems/score/mips.h: New file, formerly mips64orion.h. Header rewritten. (mips_get_sr, mips_set_sr, mips_enable_in_interrupt_mask, mips_disable_in_interrupt_mask): New macros. * rtems/score/Makefile.am: Reflect renaming mips64orion.h. * asm.h: Include <mips.h> not <mips64orion.h>. Now includes the few defines that were in <cpu_asm.h>. * cpu.c (_CPU_ISR_Get_level): Added MIPS ISA I version of this routine. MIPS ISA 3 is still in assembly for now. (_CPU_Thread_Idle_body): Rewrote in C. * cpu_asm.S: Rewrote file header. (FRAME,ENDFRAME) now in asm.h. (_CPU_ISR_Get_level): Removed ISA I version and rewrote in C. (_CPU_ISR_Set_level): Removed ISA I version and rewrote in C. (_CPU_Context_switch): MIPS ISA I now manages preserves SR_IEC and leaves other bits in SR alone on task switch. (mips_enable_interrupts,mips_disable_interrupts, mips_enable_global_interrupts,mips_disable_global_interrupts, disable_int, enable_int): Removed. (mips_get_sr): Rewritten as C macro. (_CPU_Thread_Idle_body): Rewritten in C. (init_exc_vecs): Rewritten in C as mips_install_isr_entries() and placed in libcpu. (exc_tlb_code, exc_xtlb_code, exc_cache_code, exc_norm_code): Moved to libcpu/mips/shared/interrupts. (general): Cleaned up comment blocks and #if 0 areas. * idtcpu.h: Made ifdef report an error. * iregdef.h: Removed warning. * rtems/score/cpu.h (CPU_INTERRUPT_NUMBER_OF_VECTORS): Now a variable number defined by libcpu. (_CPU_ISR_Disable, _CPU_ISR_Enable): Rewritten to use new routines to access SR. (_CPU_ISR_Set_level): Rewritten as macro for ISA I. (_CPU_Context_Initialize): Honor ISR level in task initialization. (_CPU_Fatal_halt): Use new _CPU_ISR_Disable() macro.
2000-11-092000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-1/+1
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
2000-11-022000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-1/+1
* Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal.
2000-10-252000-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-1/+1
* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros. Switch to GNU canonicalization.
2000-10-242000-10-24 Alan Cudmore <alanc@linuxstart.com> andJoel Sherrill1-2/+2
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: idtmon.h in mips64orion port not present. * asm.h: MIPS64ORION replaced with MIPS. Frame setup macros added. * cpu.c: Comments added. * cpu_asm.S: Conditionals changed. MIPS ISA level 1 support added. First attempt at exception/interrupt processing for ISA level 1 and minus any use of IDT/MON added. * idtcpu.h: Conditionals changed to use gcc predefines. * iregdef.h: Ditto. * cpu_asm.h: No real change. Merger required commit. * rtems/Makefile.am: Ditto. * rtems/score/Makefile.am: Ditto. * rtems/score/cpu.h: Change MIPS64ORION to MIPS. * rtems/score/mips64orion.h: Change MIPS64ORION to MIPS. Convert from using RTEMS_CPU_MODEL to gcc predefines to figre things out.
2000-09-052000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-0/+1
* Makefile.am: Include compile.am.