summaryrefslogtreecommitdiffstats
path: root/cpukit/score (follow)
Commit message (Collapse)AuthorAgeFilesLines
* B.Robinson MIPS patchGreg Menke2006-06-084-174/+200
|
* 2006-06-02 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-06-031-1/+1
| | | | | | * itron/src/trcv_mbf.c, posix/src/semopen.c, rtems/src/taskvariableadd.c, score/macros/rtems/score/heap.inl: Fix warnings.
* 2006-06-02 Jay Monkman <jtm@lopingdog.com>Jay Monkman2006-06-022-8/+66
| | | | * cpu.c, cpu_asm.S: Fixed ARM Data Abort handling.
* Fixed ARM Data Abort handling.Jay Monkman2006-06-021-0/+4
|
* * score/inline/rtems/score/threadmp.inl,Joel Sherrill2006-04-072-0/+2
| | | | score/macros/rtems/score/threadmp.inl: Fix compile error.
* 2006-04-05 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-04-056-15/+14
| | | | | | | | | | | | | | 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.
* 2006-03-17 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2006-03-172-1/+6
| | | | * cpu.c (_CPU_Initialize): Add fpu initialization.
* 2006-03-17 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2006-03-172-0/+14
| | | | | * rtems/score/cpu.h: Setup CPU_*_ENDIAN from GCC's__MIPS{EL|EB}__. (Partial merger of submission by Bruce Robinson <brucer@pmccorp.com>).
* 2006-03-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-03-081-1/+1
| | | | | | | 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.
* 2006-03-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-03-081-5/+5
| | | | | | | * 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.
* 2006-03-07 Steven Johnson <sjohnson@sakuraindustries.com>Joel Sherrill2006-03-071-3/+31
| | | | | | | | | | | | | 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.
* 2006-03-07 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-03-074-8/+40
| | | | | | | | | 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.
* FormattingJoel Sherrill2006-03-011-9/+9
|
* Just "cc" in the clobbered register list for interrupt enable/disable/flashEric Norum2006-02-282-5/+24
| | | | | operations. The "memory" barrier will move the the generic interrupt enable/disable/flash macros.
* 2006-02-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-02-012-1/+8
| | | | | | | * 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.
* 2006-01-16 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2006-01-161-28/+32
| | | | | * rtems/Makefile.am: Rework. * score/Makefile.am: Rework.
* 2006-01-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-01-1647-979/+1903
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* 2006-01-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-01-1616-31/+81
| | | | | | * 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.
* 2006-01-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-01-164-8/+13
| | | | | | | * 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.
* 2006-01-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-01-164-58/+104
| | | | | | | * 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.
* Regenerate.Ralf Corsepius2006-01-1413-13/+15
|
* Regenerate.Ralf Corsepius2006-01-137-0/+14
|
* RegenerateRalf Corsepius2006-01-134-0/+8
|
* Regenerate.Ralf Corsepius2006-01-121-0/+2
|
* Remove all-local.Ralf Corsepius2006-01-1213-26/+0
|
* Regenerate.Ralf Corsepius2006-01-1212-24/+24
|
* CleanupsRalf Corsepius2006-01-1213-53/+1
|
* 2006-01-11 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2006-01-111-0/+4
| | | | * rtems/score/types.h: Eliminate unsigned16.
* Eliminate unsigned32.Ralf Corsepius2006-01-111-2/+2
|
* 2005-11-18 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-11-182-1/+5
| | | | * rtems/score/cpu.h: Eliminate use of unsigned32.
* 2005-11-08 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-11-0822-22/+66
| | | | * rtems/score/types.h: Eliminate unsigned16, unsigned32.
* Fixed formatting.Joel Sherrill2005-11-071-6/+6
|
* Eliminate obsolete types.Ralf Corsepius2005-11-061-1/+1
|
* 2005-11-02 straumanatslacdotstanford.eduTill Straumann2005-11-022-0/+41
| | | | | * rtems/powerpc/registers.h: recognize mpc7457 CPU; added definitions for high bats (#4..7) on 7450 CPUs
* 2005-10-27 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-10-2722-50/+66
| | | | | * rtems/asm.h: Remove private version of CONCAT macros. Include <rtems/concat.h> instead.
* 2005-09-15 Jay MonkmanJay Monkman2005-09-153-99/+14
| | | | | | PR 365/rtems * rtems/score/arm.h, rtems/score/cpu.h: Removed unused ARM_HAS_CLZ macro
* 2005-09-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-09-013-16/+32
| | | | | | | | | 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.
* 2005-08-17 Andrew Sinclair <Andrew.Sinclair@elprotech.com>Joel Sherrill2005-08-171-1/+11
| | | | | | | | 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.
* 2005-06-07 Brett Swimley <brett.swimley@aedbozeman.com>Joel Sherrill2005-06-073-6/+11
| | | | | PR 803/patch * rtems/score/cpu.h, rtems/score/m68k.h: Correct definition of _VBR.
* 2005-05-20 Chris Johns <chrisj@rtems.org>Joel Sherrill2005-05-203-2/+6
| | | | * rtems/score/cpu.h, rtems/score/m68k.h: Change declaration of _VBR.
* 2005-05-14 Sergei Organov <osv@topconrd.ru>Joel Sherrill2005-05-209-52/+274
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* 2005-05-06 Jennifer Averett <jennifer.averett@oarcorp.com>Jennifer Averett2005-05-062-0/+5
| | | | * rtems/score/powerpc.h: Removed warning
* 2005-05-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-05-042-1/+5
| | | | * rtems/score/m68k.h: Change _ColdFire_VBR to _VBR.
* 2005-05-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-05-033-3/+8
| | | | | * rtems/score/cpu.h: Change definition of _VBR to a simple pointer. * rtems/score/m68k.h: Remove use of _Coldfire_VBR.
* 2005-05-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-05-032-1/+5
| | | | * cpu.c: Remove warning.
* 2005-04-29 Jennifer Averett <jennifer.averett@oarcorp.com>Jennifer Averett2005-04-291-0/+1
| | | | * score/src/objectidtoname.c: Removed warnings
* 2005-04-28 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-04-281-2/+2
| | | | * score/src/objectidtoname.c: Fixed spacing.
* 2005-04-28 Jennifer Averett <jennifer.averett@oarcorp.com>Jennifer Averett2005-04-281-0/+1
| | | | * score/src/objectidtoname.c: Add enable dispatch
* 2005-04-26 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-04-262-1/+5
| | | | * rtems/asm.h: Eliminate warnings.
* 2005-04-23 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-04-231-1/+1
| | | | * score/cpu/Makefile.am: Remove or32 (target abandoned).