| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
* itron/src/trcv_mbf.c, posix/src/semopen.c,
rtems/src/taskvariableadd.c, score/macros/rtems/score/heap.inl: Fix
warnings.
|
|
|
|
| |
* cpu.c, cpu_asm.S: Fixed ARM Data Abort handling.
|
| |
|
|
|
|
| |
score/macros/rtems/score/threadmp.inl: Fix compile error.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Victor V. Vengerov <Victor.Vengerov@oktetlabs.ru>
* score/include/rtems/score/mpci.h,
score/include/rtems/score/threadmp.h,
score/inline/rtems/score/threadmp.inl,
score/macros/rtems/score/threadmp.inl, score/src/threadmp.c,
score/src/threadqenqueue.c: Victor spotted the problem that
_MPCI_Receive_server_tcb and _Thread_MP_Receive were duplicate
variables and needed to be set to the same value. I took that
idea and just removed _Thread_MP_Receive. All uses are now
_MPCI_Receive_server_tcb.
|
|
|
|
| |
* cpu.c (_CPU_Initialize): Add fpu initialization.
|
|
|
|
|
| |
* rtems/score/cpu.h: Setup CPU_*_ENDIAN from GCC's__MIPS{EL|EB}__.
(Partial merger of submission by Bruce Robinson <brucer@pmccorp.com>).
|
|
|
|
|
|
|
| |
PR 761/rtems
* score/src/threadhandler.c: Add volatile cast so test is weak function
is present will do something. Otherwise, it can be assume by gcc to
always be a true condition.
|
|
|
|
|
|
|
| |
* itron/macros/rtems/itron/semaphore.inl,
itron/macros/rtems/itron/task.inl: Fix warnings.
* posix/macros/rtems/posix/cond.inl: Fix typo.
* score/macros/rtems/score/heap.inl: Fix missed type change.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 850/rtems
* score/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
* score/include/rtems/system.h, score/include/rtems/score/isr.h,
score/inline/rtems/score/thread.inl,
score/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. The "memory" barrier will move the the generic interrupt
enable/disable/flash macros.
|
|
|
|
|
|
|
| |
* rtems/score/cpu.h: Increase default stack size on i386 from 1K to 4K.
Most i386 targets are not memory strapped so making this a bit large
is not a burden. It lets more tests run. ticker and psxtimer will not
even run with 1K of stack.
|
|
|
|
|
| |
* rtems/Makefile.am: Rework.
* score/Makefile.am: Rework.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Large patch to improve Doxygen output. As a side-effect, grammar and
spelling errors were corrected, spacing errors were address, and some
variable names were improved.
* libmisc/monitor/mon-object.c, libmisc/monitor/monitor.h:
Account for changing OBJECTS_NO_CLASS to OBJECTS_CLASSIC_NO_CLASS.
* score/Doxyfile: Set output directory. Predefine some macro values.
Turn on graphical output.
* 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/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/coremutex.inl,
score/inline/rtems/score/coresem.inl,
score/inline/rtems/score/heap.inl,
score/inline/rtems/score/object.inl,
score/inline/rtems/score/stack.inl,
score/inline/rtems/score/thread.inl,
score/inline/rtems/score/tqdata.inl, score/macros/README,
score/src/heap.c, score/src/threadmp.c, score/src/threadready.c,
score/src/threadstartmultitasking.c: Improve generated Doxygen
output. Fix spelling and grammar errors in comments. Correct names of
some variables and propagate changes.
|
|
|
|
|
|
| |
* rtems/score/cpu.h: Part of a large patch to improve Doxygen output.
As a side-effect, grammar and spelling errors were corrected, spacing
errors were address, and some variable names were improved.
|
|
|
|
|
|
|
| |
* rtems/new-exceptions/cpu.h, rtems/old-exceptions/cpu.h,
rtems/score/cpu.h: Part of a large patch to improve Doxygen output.
As a side-effect, grammar and spelling errors were corrected, spacing
errors were address, and some variable names were improved.
|
|
|
|
|
|
|
| |
* rtems/asm.h, rtems/score/cpu.h, rtems/score/types.h: Part of a large
patch to improve Doxygen output. As a side-effect, grammar and
spelling errors were corrected, spacing errors were address, and some
variable names were improved.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
* rtems/score/types.h: Eliminate unsigned16.
|
| |
|
|
|
|
| |
* rtems/score/cpu.h: Eliminate use of unsigned32.
|
|
|
|
| |
* rtems/score/types.h: Eliminate unsigned16, unsigned32.
|
| |
|
| |
|
|
|
|
|
| |
* rtems/powerpc/registers.h: recognize mpc7457 CPU; added definitions
for high bats (#4..7) on 7450 CPUs
|
|
|
|
|
| |
* rtems/asm.h: Remove private version of CONCAT macros.
Include <rtems/concat.h> instead.
|
|
|
|
|
|
| |
PR 365/rtems
* rtems/score/arm.h, rtems/score/cpu.h: Removed unused ARM_HAS_CLZ
macro
|
|
|
|
|
|
|
|
|
| |
PR 820/rtems
* score/inline/rtems/score/coremsg.inl,
score/macros/rtems/score/coremsg.inl, score/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 803/patch
* rtems/score/cpu.h, rtems/score/m68k.h: Correct definition of _VBR.
|
|
|
|
| |
* rtems/score/cpu.h, rtems/score/m68k.h: Change declaration of _VBR.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 746/rtems
Optimize realloc(). The problem is that realloc() can neither grow
nor shrink efficiently the current memory region without support
from underlying heap/region modules. The patch introduces one new
routine for each of heap and region modules, _Heap_Resize_block(),
and rtems_region_resize_segment(), respectively, and uses the
latter to optimize realloc().
The implementation of _Heap_Resize_block() lead to changing of the
heap allocation strategy: now the heap manager, when splits larger
free block into used and new free parts, makes the first part of
the block used, not the last one as it was before. Due to this new
strategy, _Heap_Resize_block() never needs to change the user
pointer.
Caveat: unlike previous heap implementation, first few bytes of
the contents of the memory allocated from the heap are now almost
never all zero. This can trigger bugs in client code that have not
been visible before this patch.
* libcsupport/src/malloc.c (realloc): try to resize segment in
place using new rtems_region_resize_segment() routine before
falling back to the malloc()/free() method.
* score/src/heap.c:
(_Heap_Initialize): change initial heap layout to reflect new
allocation strategy of using of the lower part of a previously
free block when splitting it for the purpose of allocation.
(_Heap_Block_allocate): when split, make the lower part used, and
leave the upper part free. Return type changed from Heap_Block* to
uint32_t.
* score/include/rtems/score/heap.h:
(Heap_Statistics): added 'resizes' field.
(Heap_Resize_status): new enum.
(_Heap_Resize_block): new routine.
(_Heap_Block_allocate): return type changed from Heap_Block* to
uint32_t.
* score/src/heapwalk.c: reflect new heap layout in checks.
* score/src/heapsizeofuserarea.c: more assertions added.
* score/src/heapresizeblock.c: new file.
(_Heap_Resize_block): new routine.
* score/src/heapfree.c: reverse the checks _Heap_Is_block_in() and
_Heap_Is_prev_used() on entry to be in this order.
* score/src/heapallocate.c, score/src/heapallocatealigned.c:
ignore return value of _Heap_Block_allocate().
* score/Makefile.am (HEAP_C_FILES): added src/heapresizeblock.c.
* rtems/include/rtems/rtems/region.h:
(rtems_region_resize_segment): new interface routine.
(_Region_Process_queue): new internal routine called from
rtems_region_resize_segment() and rtems_region_return_segment().
* rtems/src/regionreturnsegment.c: move queue management code into
the new internal routine _Region_Process_queue() and call it.
* rtems/src/regionresizesegment.c: new file.
(rtems_region_resize_segment): new interface routine.
* rtems/src/regionprocessqueue.c: new file.
(_Region_Process_queue): new internal routine containing queue
management code factored out from 'regionreturnsegment.c'.
* rtems/Makefile.am (REGION_C_FILES): Added
src/regionresizesegment.c, and src/regionprocessqueue.c.
* ada/rtems.adb, ada/rtems.ads: Added Region_Resize_Segment.
|
|
|
|
| |
* rtems/score/powerpc.h: Removed warning
|
|
|
|
| |
* rtems/score/m68k.h: Change _ColdFire_VBR to _VBR.
|
|
|
|
|
| |
* rtems/score/cpu.h: Change definition of _VBR to a simple pointer.
* rtems/score/m68k.h: Remove use of _Coldfire_VBR.
|
|
|
|
| |
* cpu.c: Remove warning.
|
|
|
|
| |
* score/src/objectidtoname.c: Removed warnings
|
|
|
|
| |
* score/src/objectidtoname.c: Fixed spacing.
|
|
|
|
| |
* score/src/objectidtoname.c: Add enable dispatch
|
|
|
|
| |
* rtems/asm.h: Eliminate warnings.
|
|
|
|
| |
* score/cpu/Makefile.am: Remove or32 (target abandoned).
|