| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
* configure.ac: Remove RTEMS_CHECK_CUSTOM_BSP.
|
|
|
|
| |
* cpu.c: Include rtems/bspIo.h instead of bspIo.h.
|
|
|
|
|
|
| |
* include/rtems/seterr.h: Add do {..} while (0) in defines.
Rename set_errno_and_return_minus_one into
rtems_set_errno_and_return_minus_one.
|
|
|
|
| |
* configure.ac: Use RTEMS_ENV_RTEMSCPU.
|
|
|
|
|
|
| |
* inline/rtems/score/object.inl, macros/rtems/score/object.inl: Add
add casts to Objects_Id in _Objects_Build_ids to avoid implicit
typecasts from enum to int16 on bit16 targets (here: h8300).
|
|
|
|
| |
* src/Makefile.am: Add multilib support.
|
|
|
|
| |
* Makefile.am: Add multilib support.
|
|
|
|
|
| |
* asm.h: include cpuopts.h instead of targopts.h
* rtems/score/arm.h: Use __arm__.
|
|
|
|
|
|
|
|
|
| |
This was tracked as PR91.
* include/rtems/score/isr.h, inline/rtems/score/isr.inl,
macros/rtems/score/isr.inl: Modified to allow any port to provide
its own implementation of the macro _ISR_Is_in_progress. If the
port overrides this macro, it must provide a non-inlined function
implementation.
|
|
|
|
|
|
|
| |
This was tracked as PR91.
* rtems/score/cpu.h: Added CPU_PROVIDES_ISR_IS_IN_PROGRESS macro which
is used to specify if the port uses the standard macro for this (FALSE).
A TRUE setting indicates the port provides its own implementation.
|
|
|
|
|
|
|
|
|
|
| |
This was tracked as PR91.
* rtems/score/cpu.h: Added CPU_PROVIDES_ISR_IS_IN_PROGRESS macro which
is used to specify if the port uses the standard macro for this (FALSE).
A TRUE setting indicates the port provides its own implementation.
* rtems/score/c_isr.inl: Deleted and contents merged into cpu.c.
* cpu.c: Received contents of c_isr.inl.
* Makefile.am: Deleted reference to c_isr.inl.
|
|
|
|
|
|
|
|
|
|
|
| |
* support/new_exception_processing/configure.ac,
support/new_exception_processing/rtems/score/c_isr.inl,
support/new_exception_processing/rtems/score/cpu.h,
support/old_exception_processing/configure.ac,
support/old_exception_processing/rtems/score/c_isr.inl,
support/old_exception_processing/rtems/score/cpu.h,
support/old_exception_processing/rtems/score/ppc_offs.h: New files
missed in previous commit.
|
|
|
|
|
|
|
|
| |
* src/threadhandler.c: When __USE__MAIN__ is defined by the toolset,
invoke the global constructors via __main. Reported as tested by
Alexandra Kossovsky <sasha@oktet.ru> and Victor V. Vengerov
<vvv@oktet.ru> in conjunction with a new set of tool RPMs
(gcc2.95.3newlib1.9.0-3). This was tracked as GNATS PR tools/84.
|
|
|
|
|
| |
* shared/ppc.h: The mpc8260 uses the new exception processing model
and thus does not need to define PPC_USE_SPRG.
|
|
|
|
| |
* shared/ppc.h: mpc8260 has double FPU not single FPU.
|
|
|
|
|
|
|
|
|
| |
This modification is part of the submitted modifications necessary to
support the IBM PPC405 family. This submission was reviewed by
Thomas Doerfler <Thomas.Doerfler@imd-systems.de> who ensured it did
not negatively impact the ppc403 BSPs. The submission and tracking
process was captured as PR50.
* shared/asm.h, shared/ppc.h: Added PPC405 support.
|
|
|
|
|
|
|
|
|
| |
Reported by Todor.Todorov@barco.com and tracked as PR36.
* include/rtems/score/object.h: Added prototype for
_Objects_Get_by_index().
* src/objectget.c, src/objectgetisr.c: Corrected procedure for
getting index from Id so it is correct and optimal for both single
and multiprocessor configurations.
|
|
|
|
| |
* shared/ppc.h: Added mpc8260 support.
|
|
|
|
|
| |
* src/threadhandler.c: Use __USE_INIT_FINI__ since USE_INIT_FINI
pollutes the application namespace.
|
|
|
|
| |
* .cvsignore: Add stamp-h.in.
|
|
|
|
| |
* include/Makefile.am: Fixed path to cpuopts-tmp.h.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* include/rtems/Makefile.am: Remove.
* include/rtems/Makefile.am: Remove.
* include/Makefile.am: Handle subdirs, require automake-1.5.
* macros/rtems/Makefile.am: Remove.
* macros/rtems/score/Makefile.am: Remove.
* macros/Makefile.am: Handle subdirs, require automake-1.5.
* inline/rtems/Makefile.am: Remove.
* inline/rtems/score/Makefile.am: Remove.
* inline/Makefile.am: Handle subdirs, require automake-1.5.
* Makefile.am: require automake-1.5
|
|
|
|
| |
* cpu.c: Fix #ifdefs, add missing #endif.
|
|
|
|
| |
* shared/ppctypes.h: Fixed typo.
|
|
|
|
|
| |
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
* configure.in: Remove.
|
|
|
|
|
| |
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
* configure.in: Remove.
|
|
|
|
|
|
| |
* asm.h, cpu.c, rtems.c, rtems/score/cpu.h, rtems/score/sh.h,
rtems/score/sh_io.h, rtems/score/shtypes.h: Consistency changes
and made sure there were no includes from the libcpu tree.
|
|
|
|
|
|
| |
* cpu.c, rtems/score/cpu.h, rtems/score/sh.h: Modified to
support SH4. Reviewed by Ralf Corsepius <corsepiu@faw.uni-ulm.de>
who did the original SH port.
|
|
|
|
|
|
| |
* cpu_asm.S: _CPU_Context_save_fp in was incorrectly in conditional
compilation block with (CPU_HARDWARE_FP == FALSE). Reported by
Wayne Bullaughey <wayne@wmi.com>.
|
|
|
|
|
|
| |
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
* configure.in: Remove.
* configure.ac: New file, generated from configure.in by autoupdate.
|
|
|
|
|
|
| |
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
* configure.in: Remove.
* configure.ac: New file, generated from configure.in by autoupdate.
|
|
|
|
|
|
| |
* cpu_asm.S: Small patch to fix a bug in the rtems sparc port. The
bug has been there all the time, but only hits the leon bsp since the
leon cpu has a 5-stage pipeline (erc32 has 4 stages).
|
|
|
|
|
|
|
| |
* include/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
* include/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
* inline/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
* macros/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
|
|
|
|
|
|
| |
* cpu_asm.S: Small patch to fix a bug in the rtems sparc port. The
bug has been there all the time, but only hits the leon bsp since the
leon cpu has a 5-stage pipeline (erc32 has 4 stages).
|
|
|
|
|
|
|
| |
* src/threadhandler.c: Now process C++ global constructors
(_init) as part of the first task execution not in BSP space.
This depends on the toolset defining USE_INIT_FINI so you
have to have the right toolset version.
|
|
|
|
|
| |
* rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
* Makefile.am: Use 'PREINSTALL_FILES ='.
|
|
|
|
| |
* shared/Makefile.am: Use 'PREINSTALL_FILES ='.
|
|
|
|
| |
* rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/coremutex.c, src/coremutexseize.c, src/coremutexsurrender.c,
inline/rtems/score/coremutex.inl: The per thread field resource_count
should only be manipulated when a mutex is priority ceiling or
priority inherit. This was reported by Chris Johns <ccj@acm.org>
who also noticed that the use of switches for all disciplines
generated less efficient code than using explicit tests for the one
or two cases we were really interested in. Further review of his
modifications made it apparent that the "isa" methods to test mutex
discipline were not being used so this modification was swept into
the code as well.
|
|
|
|
|
|
|
| |
* src/coremutexseize.c: Add missing code for proper handling
of nesting acquisitions. This only impacts building with
inlines disabled on the source with the "fast mutex" optimizations.
This was post the 4.5 branch and did not impact released versions.
|
|
|
|
|
|
| |
* cpu.c (_CPU_ISR_install_vector): Corrected interrupt range
checking which was SH1 specific. It didn't work for SH2 (has more
interrupt sources).
|
|
|
|
|
|
| |
* src/coremutexsurrender.c: Use holder thread not executing
thread because even though they may and often are the same
it is not guaranteed unless the proper attribute is set.
|
|
|
|
|
|
|
|
| |
* include/rtems/score/coremsg.h, src/coremsgsubmit.c: Add a new
return status to account for blocking sends. Otherwise, the
caller will think that the returned message status will have
the ultimate results of the operation. If the send times out,
the final status will be in the return_code of the thread.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* cpu_asm.S: This patch was co-developed with Eric Norum
<eric.norum@usask.ca>. It closes a one instruction window
on some m68k CPU cores. It fixes symptoms seen as:
1) No more `interrupt handler invoked twice for
a single interrupt'.
2) No more `lockup when mc68360 CPM and PIT interrupts
are at different levels'.
It does insert a little more overhead on machines without hardware
interrupt stacks but correctness has a price.
|
|
|
|
|
|
|
|
| |
* include/rtems/score/coremsg.h, inline/rtems/score/coremsg.inl,
src/coremsgsubmit.c: Unblocking message queue operations should
NOT use _Thread_Executing for return status since it is permissible
to invoke message send operations from an ISR. This was reported
by Suvrat Gupta <suvrat@utstar.com>.
|
|
|
|
| |
* cpu.c: Fixed typo.
|
|
|
|
|
|
| |
* macros/rtems/score/coresem.inl, inline/rtems/score/coresem.inl:
Cut and paste problem incorrectly enabled interrupts twice with
the first time being too early.
|
|
|
|
|
|
|
| |
* rtems/score/mips.h: Added constants for MIPS exception numbers.
All exceptions should be given low numbers and thus can be installed
and processed in a uniform manner. Variances between various MIPS
ISA levels were not accounted for.
|
|
|
|
|
|
|
|
| |
* rtems/score/mips.h: Added constants for MIPS exception numbers.
All exceptions should be given low numbers and thus can be installed
and processed in a uniform manner. Variances between various MIPS
ISA levels were not accounted for.
|
|
|
|
|
| |
* Assisted in design and debug by Joel Sherrill <joel@OARcorp.com>.
* cpu_asm.S: Now works on Mongoose-V. Missed in previous patch.
|