| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* Makefile.am: Add $(dirstamp) to preinstallation rules.
Remove MACROS.
|
|
|
|
|
| |
* Makefile.am: Add $(dirstamp) to preinstallation rules.
Remove MACROS.
|
|
|
|
|
|
| |
PR 526/rtems
* src/threadcreateidle.c: Idle task name should be a string and
PR484 broke this.
|
|
|
|
|
|
|
|
|
|
| |
PR 525/rtems
* include/rtems/system.h: Use RTEMS_INLINES instead of USE_INLINES.
* include/rtems/score/chain.h: Ditto.
* include/rtems/score/thread.h: Ditto.
* src/chain.c: Ditto.
* src/coremutexseize.c: Ditto.
* src/threadget.c: Ditto.
|
|
|
|
| |
* Makefile.am: Don't use gmake to preinstall.
|
|
|
|
|
|
| |
* src/coremsgseize.c, src/coremsgsubmit.c:
Remove unnecessary typecasts in assignments to
thread->Wait.return_argument.
|
|
|
|
|
|
| |
PR 504/rtems
* include/rtems/score/coremutex.h: Add fatal error check for a task
blocking on a mutex when thread dispatching is disabled.
|
|
|
|
|
|
|
|
|
| |
* cpu/hppa1.1/.cvsignore, cpu/hppa1.1/ChangeLog,
cpu/hppa1.1/Makefile.am, cpu/hppa1.1/configure.ac, cpu/hppa1.1/cpu.c,
cpu/hppa1.1/cpu_asm.S, cpu/hppa1.1/rtems/.cvsignore,
cpu/hppa1.1/rtems/score/.cvsignore, cpu/hppa1.1/rtems/score/cpu.h,
cpu/hppa1.1/rtems/score/cpu_asm.h, cpu/hppa1.1/rtems/score/hppa.h,
cpu/hppa1.1/rtems/score/types.h: Removed.
|
|
|
|
|
|
|
| |
PR 489/rtems
* include/rtems/score/thread.h: Change struct
Thread_Control_struct.libc_reent to using struct _reent*.
* inline/rtems/score/thread.inl: Reflect change above.
|
|
|
|
|
| |
PR 484/rtems
* src/threadcreateidle.c: Idle task name was initialized incorrectly.
|
|
|
|
|
| |
* inline/rtems/score/userext.inl, macros/rtems/score/userext.inl:
Add missing cast.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* include/rtems/debug.h, include/rtems/seterr.h,
include/rtems/system.h, include/rtems/score/address.h,
include/rtems/score/apiext.h, include/rtems/score/apimutex.h,
include/rtems/score/bitfield.h, include/rtems/score/chain.h,
include/rtems/score/context.h, include/rtems/score/copyrt.h,
include/rtems/score/coremsg.h, include/rtems/score/coremutex.h,
include/rtems/score/coresem.h, include/rtems/score/heap.h,
include/rtems/score/interr.h, include/rtems/score/isr.h,
include/rtems/score/mpci.h, include/rtems/score/mppkt.h,
include/rtems/score/object.h, include/rtems/score/objectmp.h,
include/rtems/score/priority.h, include/rtems/score/stack.h,
include/rtems/score/states.h, include/rtems/score/sysstate.h,
include/rtems/score/thread.h, include/rtems/score/threadmp.h,
include/rtems/score/threadq.h, include/rtems/score/tod.h,
include/rtems/score/tqdata.h, include/rtems/score/userext.h,
include/rtems/score/watchdog.h, include/rtems/score/wkspace.h,
inline/rtems/score/address.inl, inline/rtems/score/chain.inl,
inline/rtems/score/coremsg.inl, inline/rtems/score/coremutex.inl,
inline/rtems/score/coresem.inl, inline/rtems/score/heap.inl,
inline/rtems/score/isr.inl, inline/rtems/score/mppkt.inl,
inline/rtems/score/object.inl, inline/rtems/score/objectmp.inl,
inline/rtems/score/priority.inl, inline/rtems/score/stack.inl,
inline/rtems/score/states.inl, inline/rtems/score/sysstate.inl,
inline/rtems/score/thread.inl, inline/rtems/score/threadmp.inl,
inline/rtems/score/tod.inl, inline/rtems/score/tqdata.inl,
inline/rtems/score/userext.inl, inline/rtems/score/watchdog.inl,
inline/rtems/score/wkspace.inl, macros/rtems/score/address.inl,
macros/rtems/score/chain.inl, macros/rtems/score/coremsg.inl,
macros/rtems/score/coremutex.inl, macros/rtems/score/coresem.inl,
macros/rtems/score/heap.inl, macros/rtems/score/isr.inl,
macros/rtems/score/mppkt.inl, macros/rtems/score/object.inl,
macros/rtems/score/objectmp.inl, macros/rtems/score/priority.inl,
macros/rtems/score/stack.inl, macros/rtems/score/states.inl,
macros/rtems/score/sysstate.inl, macros/rtems/score/thread.inl,
macros/rtems/score/threadmp.inl, macros/rtems/score/tod.inl,
macros/rtems/score/tqdata.inl, macros/rtems/score/userext.inl,
macros/rtems/score/watchdog.inl, macros/rtems/score/wkspace.inl,
src/apiext.c, src/chain.c, src/coremsg.c, src/coremsgbroadcast.c,
src/coremsgclose.c, src/coremsgflush.c, src/coremsgflushsupp.c,
src/coremsgflushwait.c, src/coremsginsert.c, src/coremsgseize.c,
src/coremsgsubmit.c, src/coremutex.c, src/coremutexflush.c,
src/coremutexseize.c, src/coremutexsurrender.c, src/coresem.c,
src/coresemflush.c, src/coresemseize.c, src/coresemsurrender.c,
src/coretod.c, src/coretodset.c, src/coretodtickle.c,
src/coretodtoseconds.c, src/coretodvalidate.c, src/heap.c,
src/heapallocate.c, src/heapextend.c, src/heapfree.c,
src/heapgetinfo.c, src/heapsizeofuserarea.c, src/heapwalk.c,
src/interr.c, src/isr.c, src/iterateoverthreads.c, src/mpci.c,
src/object.c, src/objectallocate.c, src/objectallocatebyindex.c,
src/objectclearname.c, src/objectcomparenameraw.c,
src/objectcomparenamestring.c, src/objectcopynameraw.c,
src/objectcopynamestring.c, src/objectextendinformation.c,
src/objectfree.c, src/objectget.c, src/objectgetbyindex.c,
src/objectgetisr.c, src/objectgetnext.c, src/objectgetnoprotection.c,
src/objectidtoname.c, src/objectinitializeinformation.c,
src/objectmp.c, src/objectnametoid.c, src/objectshrinkinformation.c,
src/thread.c, src/threadchangepriority.c, src/threadclearstate.c,
src/threadclose.c, src/threadcreateidle.c, src/threaddelayended.c,
src/threaddispatch.c, src/threadevaluatemode.c, src/threadget.c,
src/threadhandler.c, src/threadidlebody.c, src/threadinitialize.c,
src/threadloadenv.c, src/threadmp.c, src/threadq.c,
src/threadqdequeue.c, src/threadqdequeuefifo.c,
src/threadqdequeuepriority.c, src/threadqenqueue.c,
src/threadqenqueuefifo.c, src/threadqenqueuepriority.c,
src/threadqextract.c, src/threadqextractfifo.c,
src/threadqextractpriority.c, src/threadqextractwithproxy.c,
src/threadqfirst.c, src/threadqfirstfifo.c,
src/threadqfirstpriority.c, src/threadqflush.c, src/threadqtimeout.c,
src/threadready.c, src/threadreset.c, src/threadresettimeslice.c,
src/threadrestart.c, src/threadresume.c, src/threadrotatequeue.c,
src/threadsetpriority.c, src/threadsetstate.c,
src/threadsettransient.c, src/threadstackallocate.c,
src/threadstackfree.c, src/threadstart.c,
src/threadstartmultitasking.c, src/threadsuspend.c,
src/threadtickletimeslice.c, src/threadyieldprocessor.c,
src/userext.c, src/watchdog.c, src/watchdogadjust.c,
src/watchdoginsert.c, src/watchdogremove.c, src/watchdogtickle.c,
src/wkspace.c: URL for license changed.
|
|
|
|
|
|
|
|
|
| |
* Makefile.am, include/rtems/score/object.h,
include/rtems/score/objectmp.h, src/objectmp.c, src/objectnametoid.c:
Added ID to name lookup service and changed name of id/name
translation status code. This propagated to multiple functions. The
user API service added was rtems_object_id_to_name()
* src/objectidtoname.c: New file.
|
|
|
|
|
|
|
|
|
|
|
| |
PR 408/filesystem
* score/Makefile.am, score/include/rtems/score/thread.h: Added
sync() service. As part of adding this service, the
new RTEMS service rtems_iterate_over_all_threads() was also added.
This new service makes it easier to iterate over all the
tasks/threads in a system and perform an action on them.
* score/src/iterateoverthreads.c: New file.
* ChangeLog: Fixed screwup.
|
|
|
|
| |
* ChangeLog: Add fileio to list of interactive tests.
|
|
|
|
|
| |
* Makefile.am, include/rtems/score/thread.h: Add fileio to list of
interactive tests.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 430/rtems
* include/rtems/score/watchdog.h: _Watchdog_Ticks_since_boot should
be a VOLATILE variable.
* src/watchdoginsert.c: 'restart' algorithm needs to enforce
reloading the list head in case a TICK interrupt during ISR_Flash()
modified the list. This is achieved by a proper VOLATILE cast.
Also _Watchdog_Sync_count++ should be protected by _ISR_Disable
(prevent corruption in case ISR calls watchdoginsert)
* src/watchdogadjust.c: ISR protection added.
* src/watchdogtickle.c: ISR protection added.
NOTE: PowerPC BSPs using the new exception processing MUST BE UPDATED
to maintain _ISR_Nest_level. See also PR288 which provides fixes
for the affected BSPs distributed with RTEMS.
|
|
|
|
| |
* cpu/Makefile.am: Add DIST_SUBDIRS = $(RTEMS_CPU).
|
|
|
|
|
|
| |
PR 417/rtems
* src/coresemsurrender.c: Correct incorrect check for maximum_count
reported by Sergei Organov <osv@topconrd.ru>.
|
|
|
|
| |
* src/threadloadenv.c: Removed warnings.
|
|
|
|
| |
* src/objectmp.c: Removed warnings.
|
|
|
|
|
|
|
|
| |
PR 356/bsps
* src/threadhandlerc: This patch makes RTEMS/PowerPC eabi compliant.
Let Thread_Handler verify that _init/_main are non-NULL
before calling them (gives the linker script/user more
freedom to handle special cases).
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
AMD a29k declared obsolete.
* cpu/Makefile.am: Removed reference.
* cpu/a29k/.cvsignore, cpu/a29k/ChangeLog, cpu/a29k/Makefile.am,
cpu/a29k/amd.ah, cpu/a29k/asm.h, cpu/a29k/configure.ac,
cpu/a29k/cpu.c, cpu/a29k/cpu_asm.S, cpu/a29k/pswmacro.ah,
cpu/a29k/register.ah, cpu/a29k/sig.S, cpu/a29k/rtems/.cvsignore,
cpu/a29k/rtems/score/.cvsignore, cpu/a29k/rtems/score/a29k.h,
cpu/a29k/rtems/score/cpu.h, cpu/a29k/rtems/score/cpu_asm.h,
cpu/a29k/rtems/score/types.h: Removed.
|
|
|
|
|
| |
* src/objectmp.c: Corrected use of name parameter to reflect that it
is actually the name not a pointer to the name.
|
|
|
|
| |
Makefile.am: Don't create $ARCH.
|
|
|
|
| |
Makefile.am: Fix macro-file installation.
|
|
|
|
| |
Makefile.am: Move include/rtems/score/cpuopts.h to STD_H_FILES.
|
|
|
|
|
|
|
|
| |
* include/Makefile.am: Remove.
* inline/Makefile.am: Remove.
* macros/Makefile.am: Remove.
* src/Makefile.am: Remove.
* Makefile.am: Merge-in removed Makefile.ams.
|
|
|
|
|
| |
* include/rtems/score/object.h, include/rtems/score/tod.h:
Added casts to eliminate warnings on 16 bit targets like the h8300.
|
|
|
|
| |
* macros/rtems/score/object.inl: Keep consistent with inline version.
|
|
|
|
|
| |
* src/heapgetinfo.c: Fixed comment.
* src/mpci.c: Removed warning.
|
|
|
|
|
| |
* src/threadhandler.c: Prototype _init() and _main() if they are needed
to avoid a warning.
|
|
|
|
|
| |
* macros/rtems/score/coremsg.inl: Add <string.h> to remove warning.
* src/threadidlebody.c: Add return 0 to avoid warning.
|
|
|
|
|
|
| |
* src/coretodset.c: Correct calculation of ticks until next section
boundary. It was incorrectly based upon current time not the
time that is being set.
|
|
|
|
| |
* src/Makefile.am: Build into libscore.a.
|
|
|
|
|
|
| |
* include/rtems/score/apimutex.h (_API_Mutex_Lock): Per PR253
add the missing _ISR_Disable. This fix was already applied to
the old location (c/src/exec/score/...).
|
|
|
|
| |
* src/Makefile.am: Use .$(OBJEXT) instead of .o.
|
|
|
|
|
| |
* macros/rtems/score/object.inl: Corrected typos in
_Objects_Open, _Objects_Close, and _Objects_Namespace_remove.
|
|
|
|
|
|
| |
* macros/rtems/score/object.inl: Corrected implementation of
_Objects_Open, _Objects_Close, and _Objects_Namespace_remove
to be consistent with the inline implementation.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Mega patch merge to change the format of the object IDs to
loosen the dependency between the SCORE and the various APIs.
There was considerable work to simplify the object name management
and it appears that the name_table field is no longer needed.
This patch also includes the addition of the internal mutex
which is currently only used to protect some types of allocation
and deallocation. This significantly can reduce context
switch latency under certain circumstances. In particular,
some heap/region operations were O(n) and had dispatching
disabled. This should help enormously. With this merge,
the patch is not as clean as it should be. In particular,
the documentation has not been modified to reflect the new object
ID layout, the IDs in the test screens are not updated, and
_Objects_Get_information needs to be a real routine not inlined.
As part of this patch a lot of MP code for thread/proxy blocking
was made conditional and cleaned up.
* include/Makefile.am, include/rtems/score/coremsg.h,
include/rtems/score/coremutex.h, include/rtems/score/coresem.h,
include/rtems/score/object.h, include/rtems/score/threadq.h,
inline/rtems/score/object.inl, inline/rtems/score/thread.inl,
macros/rtems/score/object.inl, src/Makefile.am, src/coremsg.c,
src/coremutex.c, src/coresem.c, src/mpci.c,
src/objectcomparenameraw.c, src/objectextendinformation.c,
src/objectinitializeinformation.c, src/objectnametoid.c,
src/thread.c, src/threadclose.c, src/threadget.c, src/threadq.c,
src/threadqextractwithproxy.c: Modified as part of above.
* include/rtems/score/apimutex.h, src/objectgetnoprotection.c: New
files.
|
|
|
|
|
| |
* macros/rtems/score/thread..inl: Implemented missing routines
for new libc reentrancy support.
|
|
|
|
|
|
|
|
|
| |
* include/rtems/score/thread.h, inline/rtems/score/thread.inl,
src/threaddispatch.c, src/threadinitialize.c:
Move the C library re-enterrant support directly into
the thread dispatch code. RTEMS needs libc and so requiring
libc to use a user extension with its overhead is not the best
solution. This patch lowers the overhead to 2 pointer moves.
|
|
|
|
|
| |
* include/Makefile.am: Work-around to autoconf-2.53 adding PACKAGE_*
to autoheaders - sed out *PACKAGE* from cpuopts-tmp.h.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/threaddispatch.c, src/threadhandler.c: Per PR211 fix
saving/restoring floating point context. The fpsave and fprestore
routines are only used in a executing context which _is_ fp and hence
has the FPU enabled. The current behavior required the FPU always to
be on which is very dangerous if lazy context switching is used.
[Joel Note: Some ports explicitly enabled the FPU in the FP save and
restore routines to avoid this.]
The patch also makes sure (on powerpc only) that the FPU is disabled
for integer tasks. Note that this is crucial if deferred fp context
switching is used. Otherwise, fp context corruption may go undetected!
Also note that even tasks which merely push/pop FP registers to/from
the stack without modifying them still MUST be FP tasks - otherwise
(if lazy FP context switching is used), FP register corruption (of
other, FP, tasks may occur)!
Furthermore, (on PPC) by default, lazy FP context save/restore
is _disabled_.
|
|
|
|
| |
* src/objectcomparenamestring.c: Fix typos.
|
|
|
|
|
|
|
|
|
|
| |
* include/rtems/score/object.h, inline/rtems/score/object.inl,
src/objectcomparenamestring.c: Address PR81 that
reworked POSIX message queues to add a descriptor separate from
the underlying message queue. This allows non-blocking to follow
the "open" not the underlying queue. As part of debugging this
it became clear that _Objects_Compare_name_string was broken
and a simple version using strncmp() was substituted.
|
|
|
|
| |
* include/rtems/system.h: Remove targopts.h.
|
|
|
|
|
| |
* include/rtems/system.h: Add the sparc to the target supporting
multlibs.
|