summaryrefslogtreecommitdiffstats
path: root/cpukit/score (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 2009-08-11 Josh Switnicki <josh.switnicki@utoronto.ca>Joel Sherrill2009-08-114-115/+111
| | | | | * cpu.c, cpu_asm.S, rtems/score/cpu.h: Fix bug in _CPU_Context_Initialize.
* 2009-08-09 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-08-091-5/+0
| | | | | * score/src/heapresizeblock.c: Remove printk's that were accidentally committed.
* 2009-08-09 Xi Yang <hiyangxi@gmail.com>Joel Sherrill2009-08-092-4/+5
| | | | | | | | * libcsupport/Makefile.am, posix/Makefile.am, rtems/Makefile.am, sapi/Makefile.am, score/Makefile.am, score/include/rtems/score/heap.h: HEAP_BLOCK_USED_OVERHEAD was under by one uint32_t. This showed up in the unlimited and heapwalk tests on ARM targets.
* 2009-08-06 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-071-41/+20
| | | | | * score/src/objectextendinformation.c: Minor rework to eliminate uncovered ranges introduced by Chris' patch.
* 2009-08-06 Chris Johns <chrisj@rtems.org>Joel Sherrill2009-08-061-22/+49
| | | | | * score/src/objectextendinformation.c: Ensure that nothing is moved or copied until all memory is successfully allocated.
* Revert.Joel Sherrill2009-08-061-49/+22
|
* Revert.Joel Sherrill2009-08-062-23/+49
|
* 2009-08-05 Josh Switnicki <josh.switnicki@utoronto.ca>Joel Sherrill2009-08-06151-0/+154011
| | | | | | * Makefile.am: added AVR specific Header files to score/cpu/avr/avr. These are from avr-libc 1.6 and assumed to exist by AVR applications. * preinstall.am: Regenerated.
* 2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-054-50/+59
| | | | | | | | | * libcsupport/Makefile.am, rtems/Makefile.am, rtems/preinstall.am, sapi/Makefile.am, sapi/preinstall.am, score/Makefile.am, score/preinstall.am, score/include/rtems/score/heap.h, score/inline/rtems/score/heap.inl: Remove inline version now that it is in a C file. * libcsupport/src/end_profile.c: New file.
* 2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-052-2/+42
| | | | | | * score/Makefile.am: Move from inline to body to avoid path explosion from inlining this. Makes coverage analysis easier. * score/src/heapalignupuptr.c: New file.
* 2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-051-30/+27
| | | | * score/src/heapallocatealigned.c: Fix spacing.
* 2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-051-6/+15
| | | | * score/src/wkspace.c: Improve debug output.
* 2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-051-3/+3
| | | | | * rtems/include/rtems/rtems/region.h: Use new name. * score/include/rtems/debug.h: Fix spacing.
* 009-08-05 Chris Johns <chrisj@rtems.org>Chris Johns2009-08-053-28/+92
| | | | | | | | | | | | | | | | | | | | | | | | | * libmisc/dummy/dummy-networking.c: New. * libmisc/dummy/dummy.c, libmisc/Makefile.am: Move trhe networking configuration into a separate file so configuration varations do not cause conflicts. * score/inline/rtems/score/object.inl, score/include/rtems/score/object.h: Remove warnings. * score/inline/rtems/score/object.inl: Add _Chain_First, _Chain_Last, _Chain_Mext, and _Chain_Previous. * sapi/inline/rtems/chain.inl: Add rtems_chain_first, rtems_chain_last, rtems_chain_mext, and rtems_chain_previous. * libblock/include/rtems/diskdevs.h: Remove the bdbuf pool id and block_size_log2. Add media_block_size. * libblock/src/diskdevs.c: Remove size restrictions on block size. Add media block size initialisation. Remove comment to clean up the bdbuf cache. * libblock/src/blkdev.c: Remove references to block_size_log2. Allow any block size. * libblock/include/rtems/bdbuf.h, libblock/src/bdbuf.c: Remove all references to pools and make the cache handle demand driver variable buffer size allocation. Added worker threads support the swapout task. * sapi/include/confdefs.h: Updated the bdbuf configutation.
* 2009-08-03 Roger Dahlkvist <ruppe@kth.se>Joel Sherrill2009-08-031-1/+1
| | | | * score/cpu/Makefile.am: nios2 was not in the list.
* 2009-08-01 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-012-3/+11
| | | | | * score/inline/rtems/score/heap.inl, score/src/heapresizeblock.c: Simplify routine.
* 2009-08-01 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-08-011-10/+2
| | | | * score/inline/rtems/score/heap.inl: Revert accidental commit.
* 2009-08-01 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-08-012-5/+41
| | | | | | * score/inline/rtems/score/heap.inl, score/src/heapwalk.c: Do not inline code to check if newline should be printed. It leads to branch path explosion which is really hard to get coverage on.
* 2009-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-311-22/+19
| | | | * score/src/heapgetinfo.c: Simplify implementation.
* 2009-07-29 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-301-66/+51
| | | | | | | * score/src/threadinitialize.c: Rework so there is only one error exit path. This required setting every variable that contains memory allocated from the workspace to NULL early and using that assumption in the one failed exit path.
* 2009-07-29 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-301-2/+27
| | | | * score/src/wkspace.c: Add debug printks.
* 2009-07-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-284-96/+103
| | | | | | | * cpu.c, cpu_asm.S, rtems/score/cpu.h: Context switch now works well enough to run ticker to completion with the simulator clock idle task. But if you comment out the printk's in _CPU_Context_Initialize, it hangs. This remains to be investigated.
* 2009-07-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-272-10/+20
| | | | | * score/Makefile.am, score/preinstall.am: SuperCore Spinlock is only used by POSIX API. Do not build it when POSIX is not enabled.
* 2009-07-23 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-233-10/+32
| | | | * cpu.c, cpu_asm.S: Unsuccessful attempt to fix.
* 2009-07-23 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-231-10/+10
| | | | | * score/src/iterateoverthreads.c: Restructure a bit to make analysis easier.
* 2009-07-22 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-221-22/+106
| | | | | | * score/inline/rtems/score/states.inl: Add _States_Is_interruptible_by_signal. Add more DOxygen comments and clean up.
* 2009-07-21 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-211-1/+1
| | | | | * sapi/src/debug.c, score/include/rtems/debug.h: Rename _Debug_Is_enabled to rtems_is_debug_enabled.
* 2009-07-20 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-201-3/+3
| | | | | * score/src/corebarrierwait.c: Reverse order of tests to increase test coverage.
* 2009-07-17 Josh Switnicki <josh.switnicki@utoronto.ca>Joel Sherrill2009-07-173-23/+30
| | | | | | | *cpu_asm.S: implemented _CPU_Context_Restore by adding tags to restore section of context switch. Fixed bug in _CPU_Context_Switch. The wrong registers were being used for pointer to running task Context_Control struct.
* adding lpc24xx BSP partsThomas Doerfler2009-07-173-0/+520
|
* 2009-07-17 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-171-29/+34
| | | | | * score/src/watchdogadjusttochain.c: Correct bug in recent rework. Coverage not impacted.
* removing unneeded filesThomas Doerfler2009-07-173-199/+0
|
* exception handler maintenanceThomas Doerfler2009-07-176-1037/+350
|
* add common implementation to dispatch threads in isrThomas Doerfler2009-07-171-0/+44
|
* make thread dispatching in ISRs generic codeThomas Doerfler2009-07-172-1/+12
|
* 2009-07-10 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-101-3/+10
| | | | | | | * configure.ac, score/src/threadqenqueuepriority.c: Add RTEMS_DO_NOT_UNROLL_THREADQ_ENQUEUE_PRIORITY to give user ability to disable the loop in _Thread_queue_Enqueue_priority from being unrolled. This reduces code size and makes coverage analysis easier.
* 2009-07-09 Josh Switnicki <josh.switnicki@utoronto.ca>Joel Sherrill2009-07-102-3/+9
| | | | | | * cpu_asm.S: Fixed bug in _CPU_Context_Switch. The wrong registers were being used for pointer to running task Context_Control struct.
* 2009-07-09 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-091-20/+31
| | | | | * score/src/watchdogadjusttochain.c: Rework to ease code coverage analysis.
* 2009-07-09 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-091-2/+1
| | | | * score/src/heap.c: Remove unneeded include.
* 2009-07-08 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-081-5/+8
| | | | * score/src/objectgetinfo.c: Clean up and eliminate unreachable code.
* 2009-07-07 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-073-5/+5
| | | | | | | * rtems/src/rtemsobjectapimaximumclass.c, score/include/rtems/score/object.h, score/src/objectapimaximumclass.c, score/src/objectgetinfo.c: Change return type of API maximum class methods to unsigned.
* 2009-07-07 Chris Johns <chrisj@rtems.org>Joel Sherrill2009-07-071-33/+17
| | | | | * score/src/objectshrinkinformation.c: Rework loop to simplify and remove dead code.
* 2009-07-07 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-071-11/+21
| | | | | | | * posix/src/mutexsetprioceiling.c: Restructure to eliminate code paths which are unreachable. Also add more comments. * score/src/coremutexsurrender.c: Mark some code as RTEMS_DEBUG only since it cannot be hit unless coremutexseize.c is broken.
* 2009-07-06 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-061-7/+8
| | | | | * score/src/coremsgsubmit.c: Move impossible case inside an RTEMS_DEBUG conditional.
* 2009-07-03 Josh Switnicki <josh.switnicki@utoronto.ca>Joel Sherrill2009-07-066-38/+761
| | | | | | | | | | | | | | | | | * cpu.c: Implemented _CPU_Context_Initialize as a C function instead of a macro. It works with limited functionality. Implemented _CPU_Thread_Idle_body to use sleep instruction. * Makefile.am: Changed cpu_asm.c -> cpu_asm.S * cpu_asm.S: renamed from cpu_asm.c and implemented functions is asm * rtems/asm.h: Appended "macros.inc" to the end of "asm.h" * rtems/score/cpu.h: + Included "avr/io.h". + Added use 16 bit object definition. + Modified Context_Control struct to relect the registers that need to be saved. + Implemented _CPU_ISR_Disable, _CPU_ISR_Enable, and _CPU_ISR_Flash. Added function definitions for _CPU_Context_Initialize and _CPU_Push.
* 2009-07-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-031-0/+11
| | | | | * score/src/apiext.c: Unreachable API Extension paths marked as either unused or only with certain APIs.
* 2009-07-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-032-37/+45
| | | | | | | * itron/src/task.c, posix/src/pthread.c, rtems/src/tasks.c, sapi/src/exinit.c, score/include/rtems/score/apiext.h, score/src/apiext.c: No APIs currently implemented use the predriver_hook so disable it until such time as it is used.
* 2009-07-03 Daniel Hellstrom <daniel@gaisler.com>Joel Sherrill2009-07-032-6/+25
| | | | | | * sapi/src/exinit.c, score/include/rtems/score/objectmp.h, score/src/objectmp.c: Ensure local node number is set early enough in MP configurations.
* 2009-07-02 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-022-46/+50
| | | | | | | * score/include/rtems/score/coremsg.h, score/src/coremsgflushwait.c: Mark _CORE_message_queue_Flush_waiting_threads with FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API since there is no way to reach it via an API.
* 2009-07-01 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-011-1/+1
| | | | * score/include/rtems/score/tod.h: Correct name of parameter.