summaryrefslogtreecommitdiffstats
path: root/cpukit/score (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2007-09-14 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-09-141-2/+2
| | | | * score/src/watchdogtickle.c: Remove tabs.
* 2007-09-12 Sergei Organov <osv@javad.com>Joel Sherrill2007-09-122-8/+65
| | | | | | | | | | PR 1258/rtems * cpukit/score/src/heapallocatealigned.c (block_allocate): New routine. * cpukit/score/src/heapallocatealigned.c (_Heap_Allocate_aligned): Use block_allocate() instead of _Heap_Block_allocate(). Replace _Heap_Head(the_heap)->next with equivalent _Heap_First(the_heap). * cpukit/score/src/heap.c (_Heap_Allocate): fix comments according to changed block split strategy in _Heap_Allocate_aligned().
* 2007-09-10 Alain Schaefer <alani@easc.ch>Joel Sherrill2007-09-102-4/+21
| | | | | | * cpu_asm.S: Fix two problems: - CC bit has been clobbered and was not correctly restored - bfin hardware does not allow to read instructions from the L1
* 2007-09-10 Alain Schaefer <alani@easc.ch>Joel Sherrill2007-09-102-0/+33
| | | | * rtems/bfin/bf533.h: Add more definitions.
* 2007-09-07 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-09-073-11/+24
| | | | | | | * score/src/heap.c: Style. * score/src/heapwalk.c: Add more information to prints. * score/src/pheapwalk.c: Do not lock allocator mutex if dispatching is disabled.
* 2007-08-28 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-08-281-1/+0
| | | | | * rtems/include/rtems/rtems/clock.h, score/src/threadhandler.c: Fix spacing and spelling.
* 2007-08-13 Chris Johns <chrisj@rtems.org>Chris Johns2007-08-131-1/+1
| | | | | * score/include/rtems/score/object.h: Point the OBJECTS_RTEMS_CLASSES_LAST macro to the last entry.
* 2007-08-04 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2007-08-042-0/+47
| | | | * rtems/score/m68k.h: Add stubs for mcf5307, mcf5407, mcfv4e.
* 2007-08-04 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2007-08-041-0/+4
| | | | * rtems/score/cpu.h: Use uintptr_t instead of uint32_t.
* 2007-08-04 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2007-08-041-3/+3
| | | | | * score/cpu/mips/rtems/score/cpu.h: Use uintptr_t instead of uint32_t.
* 2007-07-31 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2007-07-311-0/+5
| | | | | * cpu_asm.S, rtems/score/cpu.h, rtems/score/m68k.h: Replace M68K_COLDFIRE_ARCH with __mcoldfire__.
* Replace M68K_COLDFIRE_ARCH with __mcoldfire__.Ralf Corsepius2007-07-313-20/+19
|
* 2007-07-31 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2007-07-311-1/+1
| | | | | * score/inline/rtems/score/priority.inl: Use size_t instead of uint32_t for array index.
* 2007-07-24 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-07-241-1/+3
| | | | | | | * libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c, score/src/timespecdivide.c: Fix various math and reporting bugs. Now the time appears to be reported correctly and add up to what is expected.
* 2007-07-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-07-114-36/+83
| | | | | | | | | * libcsupport/src/malloc.c: Clean up Malloc debug code. * score/include/rtems/score/heap.h: Spacing. * score/inline/rtems/score/thread.inl: * score/src/heapfree.c. Clean up and add explicit check of the address being freed actually being in the heap. * score/src/heapwalk.c: Switch to printk and do not call abort.
* compilable release of virtex/gen83xx/gen5200 powerpc adaptations. Merged ↵Thomas Doerfler2007-07-101-0/+2
| | | | many different versions of new exception handling code to shared sources.
* 2007-06-21 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-06-212-1/+6
| | | | | * cpu.c: Comment out may_alias so this compiles without a compiler error.
* 2007-06-21 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-06-212-15/+85
| | | | | | * cpu.c: Merge patch from Till Straumann which would work except gcc core dumps with an ICE when may_alias is used in this code. I filed a GCC PR and reduced optimization to -O0 and it does run again.
* 2007-06-20 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-06-201-0/+2
| | | | | * score/src/corerwlock.c: Make sure structure is fully initialized. When reused, some fields will not be zero like at initialization.
* 2007-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-06-051-2/+2
| | | | * score/src/coremsg.c: Formatting.
* 2007-05-31 Alain Schaefer <alani@easc.ch>Joel Sherrill2007-05-312-5/+12
| | | | | | | * rtems/score/cpu.h: Modifiy inline assembly language constraints to use a data register as the CTL/STI instructions requires. This is not only more correct, it avoids GCC PR31787.
* 2007-05-29 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-05-291-1/+1
| | | | * score/include/rtems/score/copyrt.h: Update copyright notice.
* 2007-05-24 Alain Schaefer <alani@easc.ch>Joel Sherrill2007-05-242-1/+5
| | | | * rtems/score/cpu.h: Fix incorrect interrupt mask.
* 2007-05-23 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-05-231-1/+1
| | | | | | | Yu Chen <chyyuu@gmail.com> * score/src/corespinlockwait.c: Per question posted as http://www.rtems.org/ml/rtems-users/2007/may/msg00180.html, changed logical operator to <=.
* 2007-05-22 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-05-2212-27/+1
| | | | | | | | | * score/cpu/arm/cpu.c, score/cpu/avr/cpu.c, score/cpu/bfin/cpu.c, score/cpu/c4x/cpu.c, score/cpu/h8300/cpu.c, score/cpu/i386/cpu.c, score/cpu/m68k/cpu.c, score/cpu/mips/cpu.c, score/cpu/nios2/cpu.c, score/cpu/no_cpu/cpu.c, score/cpu/sh/cpu.c, score/cpu/sparc/cpu.c, cpukit/sapi/src/exinit.c: Move copying of CPU Table to shared executive initialization.
* 2007-05-22 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-05-221-24/+25
| | | | * score/src/corerwlockrelease.c: Do not dereference NULL.
* 2007-05-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-05-178-34/+169
| | | | | | | | | | | | | | | | | | | | * ChangeLog, configure.ac, libcsupport/src/__times.c, libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c, rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemongetstatus.c, rtems/src/ratemonperiod.c, rtems/src/ratemonreportstatistics.c, rtems/src/ratemonresetall.c, rtems/src/ratemontimeout.c, score/Makefile.am, score/include/rtems/score/thread.h, score/include/rtems/score/timespec.h, score/src/threaddispatch.c, score/src/threadinitialize.c, score/src/threadtickletimeslice.c, score/src/timespecdivide.c: Add nanoseconds granularity to the rate monotonic period statistics and CPU usage statistics. This capability is enabled by default although may be conditionally disabled by the user. It could be too much overhead on small targets but it does not appear to be bad in early testing. Its impact on code size has not been evaluated either. It is possible that both forms of statistics gathering could be disabled with further tweaking of the conditional compilation. * score/src/timespecdividebyinteger.c: New file.
* 2007-05-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-05-161-17/+11
| | | | | | | | * score/src/objectgetnameasstring.c: Internal threads use string names so in the current RTEMS source string object name can NOT be disabled. It is probably worth considering converting the internal threads to uint32_t style names so all the support for string names can be conditionally disabled.
* 2007-05-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-05-164-2/+129
| | | | | | | * score/Makefile.am, score/include/rtems/score/timespec.h: Add division and greater than operations for timespecs. * score/src/timespecdivide.c, score/src/timespecgreaterthan.c: New files.
* 2007-05-16 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2007-05-161-6/+3
| | | | | * score/src/objectgetnameasstring.c: Remove bogus ifdef RTEMS_POSIX_API.
* 2007-05-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-05-154-2/+121
| | | | | | | | | | | | | | | | | | | | | | * Makefile.am, preinstall.am, libmisc/Makefile.am, rtems/Makefile.am, rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h, rtems/inline/rtems/rtems/ratemon.inl, rtems/src/ratemoncancel.c, rtems/src/ratemoncreate.c, rtems/src/ratemondelete.c, rtems/src/ratemongetstatus.c, rtems/src/ratemonident.c, rtems/src/ratemonperiod.c, rtems/src/ratemontimeout.c, score/Makefile.am, score/include/rtems/score/object.h, score/src/threadhandler.c, wrapup/Makefile.am: Integrate Rate Monotonic Statistics and Period Usage into Rate Monotonic Manager. Added the following directives: rtems_rate_monotonic_get_statistics, rtems_rate_monotonic_reset_statistics, rtems_rate_montonic_reset_all_statistics, rtems_rate_montonic_report_statistics, and rtems_object_get_name. Obsoleted the rtems/rtmonuse.h file as a public interface. * rtems/src/ratemongetstatistics.c, rtems/src/ratemonreportstatistics.c, rtems/src/ratemonresetall.c, rtems/src/ratemonresetstatistics.c, rtems/src/rtemsobjectgetname.c, score/src/objectgetnameasstring.c: New files. * libmisc/rtmonuse/rtmonuse.c, libmisc/rtmonuse/rtmonuse.h: Removed.
* 2007-05-09 Ray Xu <rayx@gmail.com>Joel Sherrill2007-05-152-150/+10
| | | | | * cpu.c: move do_data_abort() to libbsp/arm/shared/abort/ implement a compact do_data_abort() in simple_abort.c
* 2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-05-112-4/+18
| | | | | | | | | * score/src/coremsgseize.c: A blocking sender's message size was pulled out of the wrong field in the Wait information structure. * score/src/objectallocate.c: With the new optional manager support, we only stub out the initialization. This makes it possible to attempt to create an object with the information structure only initialized with all zeros. This ensures we return an error cleanly in this case.
* 2007-05-10 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-05-102-7/+11
| | | | | | PR 1241/rtems * score/src/threadchangepriority.c, score/src/threadqrequeue.c: Close critical section window added with requeueing support.
* 2007-05-10 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-05-104-6/+108
| | | | | | | | PR 1237/rtems * cpu.c, cpu_asm.S, rtems/score/cpu.h: Add logic to prevent stack creep when interrupts occur at a sufficient rate that the interrupted thread never gets to clean its stack. This patch ensures that an interrupted thread will not nest ISR dispatches on its stack.
* 2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-05-0919-468/+708
| | | | | | | | | | | | | | | | | | | | | | | | | | * libcsupport/include/rtems/libcsupport.h, libcsupport/src/newlibc.c, sapi/Makefile.am, sapi/include/confdefs.h, sapi/src/exinit.c, score/Makefile.am, score/preinstall.am, score/include/rtems/score/userext.h, score/src/chain.c, score/src/userext.c: Switch to newlib reentrancy extension being installed in the initial set instead of using rtems_extension_create. While implementing this, noticed that user extensions and chain code had multiple functions in a single file which is not desirable in the SuperCore and API portions of RTEMS, so split these into multiple files with one function per file. Also noticed that some of user extension code was inlined for no particular reason so moved that to C bodies. Split executive shutdown from initialization since not every application shuts down. Moved __fini call to executive shutdown to be more symmetrical with where it is called at startup. * sapi/src/exshutdown.c, score/src/chainappend.c, score/src/chainextract.c, score/src/chainget.c, score/src/chaininsert.c, score/src/userextaddapiset.c, score/src/userextaddset.c, score/src/userextremoveset.c, score/src/userextthreadbegin.c, score/src/userextthreadcreate.c, score/src/userextthreaddelete.c, score/src/userextthreadrestart.c, score/src/userextthreadstart.c, score/src/userextthreadswitch.c: New files. * score/inline/rtems/score/userext.inl: Removed.
* Include <rtems/stdint.h> instead of <stdint.h>.Ralf Corsepius2007-05-091-1/+1
|
* 2007-05-09 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2007-05-0922-16/+44
| | | | * rtems/score/cpu.h: Remove CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
* Add HAVE_CONFIG_H magic.Ralf Corsepius2007-05-082-0/+7
|
* Use size_t for stacksizes.Ralf Corsepius2007-05-084-11/+11
|
* 2007-05-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2007-05-0313-3/+527
| | | | | | | | | | | | | | | | | * ChangeLog, libcsupport/src/malloc.c, libcsupport/src/mallocfreespace.c, sapi/include/confdefs.h, score/Makefile.am, score/preinstall.am: malloc never blocks so the Region Manager is quite heavy for implementing this. This patch implements the C Program Heap directly in terms of the new Protected Heap handler. This handler is a direct use of a SuperCore Heap in conjunction with the Allocator Mutex used internally by RTEMS. This saves 3184 bytes on most SPARC test executables. * score/include/rtems/score/protectedheap.h, score/src/pheapallocate.c, score/src/pheapallocatealigned.c, score/src/pheapextend.c, score/src/pheapfree.c, score/src/pheapgetblocksize.c, score/src/pheapgetfreeinfo.c, score/src/pheapgetinfo.c, score/src/pheapinit.c, score/src/pheapresizeblock.c, score/src/pheapwalk.c: New files.
* 2007-04-17 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2007-04-172-160/+163
| | | | * rtems/bfin/bf533.h: Fix warnings about constants being too large.
* 2007-04-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2007-04-173-0/+18
| | | | | | * rtems/score/cpu.h: Use Context_Control_fp* instead of void* for fp_contexts. Eliminate evil casts.
* Use Context_Control_fp* instead of void* for fp_contexts.Ralf Corsepius2007-04-173-9/+9
| | | | Eliminate evil casts.
* 2007-04-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2007-04-171-0/+5
| | | | | * cpu.c, rtems/score/cpu.h: Use Context_Control_fp* instead of void* for fp_contexts.
* Use Context_Control_fp* instead of void* for fp_contexts.Ralf Corsepius2007-04-173-8/+8
|
* 2007-04-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2007-04-171-0/+2
| | | | | * cpu.c: Use Context_Control_fp* instead of void* for fp_contexts.
* 2007-04-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2007-04-172-0/+12
| | | | | | * rtems/score/cpu.h: Use Context_Control_fp* instead of void* for fp_contexts. Eliminate evil casts.
* Use Context_Control_fp* instead of void* for fp_contexts.Ralf Corsepius2007-04-172-6/+6
| | | | Eliminate evil casts.
* 2007-04-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2007-04-171-0/+6
| | | | | | * rtems/score/cpu.h: Use Context_Control_fp* instead of void* for fp_contexts. Eliminate evil casts.