| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 850/rtems
* src/watchdogtickle.c: A Watchdog (used to timeout an event) with
a delay of 1 sometimes does not seem to timeout. The problem
occurs, because for whatever reason when the watchdog tickle function
executes, the watchdog->delta_interval is 0. it is then decremented
before being tested, becomes huge and so doesnt time out. It is
thought there is a race condition where the watchdog->delta_interval
is calculated by reference to a head (also with a delay of 1). But
before it can be added after the head, the head is removed, so the
new head now has a delay of 0.
|
|
|
|
|
|
|
|
|
| |
PR 866/rtems
* include/rtems/system.h, include/rtems/score/isr.h,
inline/rtems/score/thread.inl, macros/rtems/score/thread.inl: Added
memory barriers to enter and exit of dispatching and interrupt
critical sections so GCC will not optimize and reorder code out of a
critical section.
|
| |
|
|
|
|
| |
operations.
|
|
|
|
|
|
|
|
|
|
| |
Edvin Catovic <edvin@gaisler.com>
Konrad Eisele <konrad@gaisler.com>
PR 827/bsps
* ChangeLog, cpu.c, cpu_asm.S, rtems/score/cpu.h: Portion of large
update of SPARC BSPs. Includes addition of sis, leon2 and leon3 BSPs,
deletion of leon BSP, addition of SMC91111 NIC driver and much more.
|
|
|
|
|
|
|
|
|
| |
PR 820/rtems
* inline/rtems/score/coremsg.inl, macros/rtems/score/coremsg.inl,
src/coremsginsert.c: Increment of pending message count should be
atomic with insertion on the pending message chain. Determination of
the need to call the notification handler should also be in this
atomic section of code.
|
|
|
|
|
|
|
|
| |
PR 807/rtems
* rtems/src/timerfireafter.c, rtems/src/timerserverfireafter.c,
score/src/watchdoginsert.c: Tighten critical section checks on an ISR
using the same timer being inserted by a lower priority ISR or
interupt task.
|
|
|
|
|
|
|
| |
PR 786/rtems
Backport mallocfreespace optimization.
* Makefile.am, include/rtems/score/heap.h, src/heapgetinfo.c:
* src/heapgetfreeinfo.c: New file.
|
|
|
|
|
| |
Cherrypick from master 2005-05-03 22:18:32 UTC Joel Sherrill <joel.sherrill@OARcorp.com> '2005-05-03 Joel Sherrill <joel@OARcorp.com>':
cpukit/rtems/src/regiongetfreeinfo.c
cpukit/score/src/heapgetfreeinfo.c
|
|
|
|
|
| |
* include/rtems/score/object.h, src/objectinitializeinformation.c: Fix
warning.
|
|
|
|
|
| |
PR 742/rtems
* score/include/rtems/system.h: Remove stringify().
|
|
|
|
| |
* include/rtems/system.h: Bump revision number.
|
|
|
|
|
| |
PR 671/bsps
* rtems/score/cpu.h: Fixed bug in _CPU_ISR_Set_level for ARM
|
|
|
|
|
|
| |
PR 609/rtems
* src/threaddispatch.c: Close race condition between _Thread_Dispatch
and _Thread_Tickle_timeslice.
|
|
|
|
|
|
|
| |
PR 654/rtems
* src/threadinitialize.c: Initialize the per thread watchdog timer.
When the thread control block is reused, we cannot depend on it being
zeroed.
|
|
|
|
|
| |
PR 661/rtems
* src/objectmp.c: Fix invalid dereference.
|
|
|
|
|
|
| |
PR 660/rtems
* src/threadinitialize.c, src/threadstackallocate.c: Check for
overflow when allocating stack.
|
|
|
|
|
|
|
| |
PR 659/rtems
* src/heapsizeofuserarea.c, src/objectmp.c, src/threadinitialize.c,
src/threadstackallocate.c: Check that address specified is in the
heap.
|
|
|
|
|
|
| |
PR 650/rtems
* src/coremsg.c: Check for mathemathical overflow when calculating
amount of memory to allocate for message buffers.
|
|
|
|
|
|
| |
PR 618/rtems
* include/rtems/score/object.h, src/coretodvalidate.c,
src/objectnametoid.c: Add NULL checks.
|
|
|
|
|
| |
PR 605/bsps
* cpu.c: Do not use C++ style comments.
|
| |
|
|
|
|
|
|
|
| |
PR 598/bsps
* cpu_asm.S, rtems/score/cpu.h: Add save of floating point
status/control register on context switches. Missing this register
was causing intermittent floating point errors.
|
|
|
|
|
| |
* cpu_asm.S: Close window while restoring interrupted task state which
resulted in CWP corruption.
|
|
|
|
| |
* macros/rtems/score/README: Remove (Redundant with macros/README).
|
|
|
|
|
|
| |
PR 543/rtems
* src/threadclose.c: Make the task delete extension run outside a
dispatch disabled critical section so extensions can free resources.
|
|
|
|
|
|
| |
PR 526/rtems
* src/threadcreateidle.c: Idle task name should be a string and
PR484 broke this.
|
|
|
|
|
|
| |
PR 504/rtems
* include/rtems/score/coremutex.h: Add fatal error check for a task
blocking on a mutex when thread dispatching is disabled.
|
|
|
|
|
|
|
| |
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/bspIo.h, include/rtems/fs.h, include/rtems/userenv.h,
score/include/rtems/debug.h, score/include/rtems/seterr.h,
score/include/rtems/system.h, score/include/rtems/score/address.h,
score/include/rtems/score/apiext.h,
score/include/rtems/score/apimutex.h,
score/include/rtems/score/bitfield.h,
score/include/rtems/score/chain.h,
score/include/rtems/score/context.h,
score/include/rtems/score/copyrt.h,
score/include/rtems/score/coremsg.h,
score/include/rtems/score/coremutex.h,
score/include/rtems/score/coresem.h,
score/include/rtems/score/heap.h, score/include/rtems/score/interr.h,
score/include/rtems/score/isr.h, score/include/rtems/score/mpci.h,
score/include/rtems/score/mppkt.h,
score/include/rtems/score/object.h,
score/include/rtems/score/objectmp.h,
score/include/rtems/score/priority.h,
score/include/rtems/score/stack.h,
score/include/rtems/score/states.h,
score/include/rtems/score/sysstate.h,
score/include/rtems/score/thread.h,
score/include/rtems/score/threadmp.h,
score/include/rtems/score/threadq.h, score/include/rtems/score/tod.h,
score/include/rtems/score/tqdata.h,
score/include/rtems/score/userext.h,
score/include/rtems/score/watchdog.h,
score/include/rtems/score/wkspace.h,
score/inline/rtems/score/address.inl,
score/inline/rtems/score/chain.inl,
score/inline/rtems/score/coremsg.inl,
score/inline/rtems/score/coremutex.inl,
score/inline/rtems/score/coresem.inl,
score/inline/rtems/score/heap.inl, score/inline/rtems/score/isr.inl,
score/inline/rtems/score/mppkt.inl,
score/inline/rtems/score/object.inl,
score/inline/rtems/score/objectmp.inl,
score/inline/rtems/score/priority.inl,
score/inline/rtems/score/stack.inl,
score/inline/rtems/score/states.inl,
score/inline/rtems/score/sysstate.inl,
score/inline/rtems/score/thread.inl,
score/inline/rtems/score/threadmp.inl,
score/inline/rtems/score/tod.inl,
score/inline/rtems/score/tqdata.inl,
score/inline/rtems/score/userext.inl,
score/inline/rtems/score/watchdog.inl,
score/inline/rtems/score/wkspace.inl,
score/macros/rtems/score/address.inl,
score/macros/rtems/score/chain.inl,
score/macros/rtems/score/coremsg.inl,
score/macros/rtems/score/coremutex.inl,
score/macros/rtems/score/coresem.inl,
score/macros/rtems/score/heap.inl, score/macros/rtems/score/isr.inl,
score/macros/rtems/score/mppkt.inl,
score/macros/rtems/score/object.inl,
score/macros/rtems/score/objectmp.inl,
score/macros/rtems/score/priority.inl,
score/macros/rtems/score/stack.inl,
score/macros/rtems/score/states.inl,
score/macros/rtems/score/sysstate.inl,
score/macros/rtems/score/thread.inl,
score/macros/rtems/score/threadmp.inl,
score/macros/rtems/score/tod.inl,
score/macros/rtems/score/tqdata.inl,
score/macros/rtems/score/userext.inl,
score/macros/rtems/score/watchdog.inl,
score/macros/rtems/score/wkspace.inl: URL for license changed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* apiext.c, chain.c, coremsg.c, coremsgbroadcast.c, coremsgclose.c,
coremsgflush.c, coremsgflushsupp.c, coremsgflushwait.c,
coremsginsert.c, coremsgseize.c, coremsgsubmit.c, coremutex.c,
coremutexflush.c, coremutexseize.c, coremutexsurrender.c, coresem.c,
coresemflush.c, coresemseize.c, coresemsurrender.c, coretod.c,
coretodset.c, coretodtickle.c, coretodtoseconds.c, coretodvalidate.c,
heap.c, heapallocate.c, heapextend.c, heapfree.c, heapgetinfo.c,
heapsizeofuserarea.c, heapwalk.c, interr.c, isr.c, mpci.c, object.c,
objectallocate.c, objectallocatebyindex.c, objectclearname.c,
objectcomparenameraw.c, objectcomparenamestring.c,
objectcopynameraw.c, objectcopynamestring.c,
objectextendinformation.c, objectfree.c, objectget.c,
objectgetbyindex.c, objectgetisr.c, objectgetnext.c,
objectgetnoprotection.c, objectinitializeinformation.c, objectmp.c,
objectnametoid.c, objectshrinkinformation.c, thread.c,
threadchangepriority.c, threadclearstate.c, threadclose.c,
threadcreateidle.c, threaddelayended.c, threaddispatch.c,
threadevaluatemode.c, threadget.c, threadhandler.c, threadidlebody.c,
threadinitialize.c, threadloadenv.c, threadmp.c, threadq.c,
threadqdequeue.c, threadqdequeuefifo.c, threadqdequeuepriority.c,
threadqenqueue.c, threadqenqueuefifo.c, threadqenqueuepriority.c,
threadqextract.c, threadqextractfifo.c, threadqextractpriority.c,
threadqextractwithproxy.c, threadqfirst.c, threadqfirstfifo.c,
threadqfirstpriority.c, threadqflush.c, threadqtimeout.c,
threadready.c, threadreset.c, threadresettimeslice.c,
threadrestart.c, threadresume.c, threadrotatequeue.c,
threadsetpriority.c, threadsetstate.c, threadsettransient.c,
threadstackallocate.c, threadstackfree.c, threadstart.c,
threadstartmultitasking.c, threadsuspend.c, threadtickletimeslice.c,
threadyieldprocessor.c, userext.c, watchdog.c, watchdogadjust.c,
watchdoginsert.c, watchdogremove.c, watchdogtickle.c, wkspace.c: URL
for license changed.
|
|
|
|
|
| |
* cpu.c, rtems/score/cpu.h, rtems/score/types.h, rtems/score/unix.h:
URL for license changed.
|
|
|
|
|
| |
* cpu.c, cpu_asm.S, rtems/score/cpu.h, rtems/score/sparc.h,
rtems/score/types.h: URL for license changed.
|
|
|
|
|
| |
* asm.h, cpu.c, rtems/score/cpu.h, rtems/score/sh.h,
rtems/score/sh_io.h, rtems/score/types.h: URL for license changed.
|
|
|
|
|
|
| |
* rtems/new-exceptions/cpu.h, rtems/old-exceptions/cpu.h,
rtems/powerpc/registers.h, rtems/score/ppc.h, rtems/score/types.h:
URL for license changed.
|
|
|
|
|
| |
* cpu.c, cpu_asm.c, rtems/score/cpu.h, rtems/score/cpu_asm.h,
rtems/score/or32.h, rtems/score/types.h: URL for license changed.
|
|
|
|
|
| |
* cpu.c, cpu_asm.c, rtems/score/cpu.h, rtems/score/cpu_asm.h,
rtems/score/no_cpu.h, rtems/score/types.h: URL for license changed.
|
|
|
|
|
|
| |
* cpu.c, cpu_asm.S, cpu_asm.h, rtems/score/cpu.h,
rtems/score/mips64orion.h, rtems/score/types.h: URL for license
changed.
|
|
|
|
|
| |
* cpu.c, cpu_asm.S, rtems/score/cpu.h, rtems/score/mips.h,
rtems/score/types.h: URL for license changed.
|
|
|
|
|
| |
* cpu.c, cpu_asm.S, rtems/score/cpu.h, rtems/score/m68k.h,
rtems/score/types.h: URL for license changed.
|
|
|
|
|
| |
* cpu.c, cpu_asm.S, rtems/score/cpu.h, rtems/score/i960.h,
rtems/score/types.h: URL for license changed.
|
|
|
|
|
|
|
| |
* cpu.c, cpu_asm.S, rtems/score/cpu.h, rtems/score/i386.h,
rtems/score/idtr.h, rtems/score/interrupts.h,
rtems/score/registers.h, rtems/score/types.h: URL for license
changed.
|
|
|
|
|
| |
* cpu.c, cpu_asm.S, rtems/score/cpu.h, rtems/score/hppa.h: URL for
license changed.
|
|
|
|
|
| |
* asm.h, cpu.c, cpu_asm.S, rtems/score/cpu.h, rtems/score/h8300.h,
rtems/score/types.h: URL for license changed.
|
|
|
|
|
| |
* cpu.c, cpu_asm.S, irq.c, rtems/score/c4x.h, rtems/score/cpu.h,
rtems/score/cpu_asm.h, rtems/score/types.h: URL for license changed.
|
|
|
|
|
| |
* asm.h, cpu.c, cpu_asm.S, rtems/score/arm.h, rtems/score/cpu.h,
rtems/score/cpu_asm.h, rtems/score/types.h: URL for license changed.
|
|
|
|
|
| |
* cpu.c, cpu_asm.S, rtems/score/a29k.h, rtems/score/cpu.h,
rtems/score/cpu_asm.h, rtems/score/types.h: URL for license changed.
|
|
|
|
|
|
| |
PR 457/bsps
* rtems/powerpc/registers.h: Add a few definitions for the PowerPC
thermal assistance unit.
|