summaryrefslogtreecommitdiffstats
path: root/cpukit/score (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-03-1210-17/+57
| | | | | | | | PR 1385/cpukit * cpu_asm.S: When the type rtems_boolean was switched to the C99 bool, the size changed from 4 bytes to 1 byte. The interrupt dispatching code accesses two boolean variables for scheduling purposes and the assembly implementations of this code did not get updated.
* 2009-03-06 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-03-061-1/+1
| | | | | * score/inline/rtems/score/heap.inl: Use the correct fields and do end - begin.
* 2009-03-02 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-03-022-6/+4
| | | | * cpu_asm.S: Eliminate extern of unused variables.
* 2009-03-02 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-03-024-3/+54
| | | | | | | | * libcsupport/src/malloc_initialize.c, score/Makefile.am, score/include/rtems/score/protectedheap.h, score/inline/rtems/score/heap.inl: Get total heap size correct when using unified C Program Heap and RTEMS Workspace. * score/src/pheapgetsize.c: New file.
* 2009-03-02 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-03-022-1/+5
| | | | * cpu.c: Remove stray semi-colon.
* 2009-02-27 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-02-272-1/+5
| | | | * rtems/score/cpu.h: AVR stack grows down.
* * rtems/powerpc/registers.h: Added Freescale Book E ImplementationThomas Doerfler2009-02-272-0/+33
| | | | | Standards (EIS) special purpose register definitions for MMU and L1 cache.
* 2009-02-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-02-172-2/+12
| | | | | | * rtems/score/sh.h: SH2E and SH3E have a DSP rather than an FPU. They are not compatible. We currently only support the FPU found on the SH3 and SH4.
* 2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-02-122-4/+4
| | | | | | * sapi/include/rtems/config.h, score/include/rtems/score/thread.h, score/src/threadidlebody.c: Change prototype of IDLE thread to consistently return void * and take a uintptr_t argument.
* 2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-02-1230-24/+74
| | | | | * cpu.c, rtems/score/cpu.h: Change prototype of IDLE thread to consistently return void * and take a uintptr_t argument.
* 2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-02-124-3/+13
| | | | | * rtems/score/cpu.h: Change prototype of IDLE thread to consistently return void * and take a uintptr_t argument.
* 2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-02-124-2/+12
| | | | | * cpu.c: Change prototype of IDLE thread to consistently return void * and take a uintptr_t argument.
* 2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-02-1148-443/+149
| | | | | | * cpu.c, rtems/score/cpu.h: Eliminate _CPU_Thread_dispatch_pointer and passing address of _Thread_Dispatch to _CPU_Initialize. Clean up comments.
* 2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-02-113-15/+7
| | | | | | * rtems/new-exceptions/cpu.h, rtems/score/cpu.h: Eliminate _CPU_Thread_dispatch_pointer and passing address of _Thread_Dispatch to _CPU_Initialize. Clean up comments.
* 2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-02-112-0/+6
| | | | * rtems/score/cpu.h: Use a 16 bit object id on this target.
* 2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-02-112-1/+12
| | | | | * rtems/score/cpu.h: Do not unroll any code on this target and use a 16-bit object id.
* 2009-01-30 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-01-301-1/+1
| | | | | | * score/include/rtems/score/object.h: Maximum index if 0xffff not 0xff when using 32-bit ids. This resulted in unlimited configurations not being able to create more than 255 objects of a class.
* 2009-01-08 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-01-081-19/+7
| | | | * score/src/objectextendinformation.c: Fold two paths into one.
* 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-01-054-12/+14
| | | | | | | | | | | * score/include/rtems/score/object.h, score/src/objectallocatebyindex.c: Object index should be int. Fix bug when index is negative. * score/src/objectextendinformation.c: Do not allow maximum number of allocated objects to exceed maximum representable in index field of Object Id. * score/src/objectgetisr.c: Use same code that is in _Objects_Get to extract index field of Object Id.
* 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-01-052-1/+5
| | | | * varvects.h: Fix prototype.
* Add __attribute__((unused)) to unused function args.Ralf Corsepius2008-12-315-4/+8
|
* Remove nested include.Ralf Corsepius2008-12-311-1/+7
| | | | Add __attribute__((unused)) to unused function args.
* Add __attribute__((unused)) to unused function args.Ralf Corsepius2008-12-315-2/+25
|
* Eliminate TRUE/FALSE.Ralf Corsepius2008-12-2218-181/+181
|
* Eliminate TRUE/FALSE.Ralf Corsepius2008-12-2216-47/+47
|
* Eliminate TRUE/FALSE.Ralf Corsepius2008-12-2249-126/+126
|
* 2008-12-21 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-212-3/+16
| | | | | * score/inline/rtems/score/object.inl, score/src/objectgetbyindex.c: Fix issues when using 16-bit object Ids.
* 2008-12-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-185-91/+22
| | | | | | | | | | * rtems/include/rtems/rtems/regionmp.h, sapi/include/rtems/config.h, sapi/src/exinit.c, score/Makefile.am, score/include/rtems/score/object.h, score/include/rtems/score/objectmp.h, score/src/objectmp.c: Eliminate Object Handler Initialization routine since it was all for MP configurations. * score/src/object.c: Removed.
* 2008-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-1712-94/+59
| | | | | | | | | | | | | * sapi/include/rtems/extension.h, sapi/include/rtems/io.h, sapi/src/exinit.c, sapi/src/extension.c, sapi/src/io.c, score/include/rtems/score/mpci.h, score/include/rtems/score/object.h, score/include/rtems/score/thread.h, score/include/rtems/score/tod.h, score/include/rtems/score/userext.h, score/include/rtems/score/wkspace.h, score/src/coretod.c, score/src/mpci.c, score/src/object.c, score/src/thread.c, score/src/userext.c, score/src/wkspace.c: Convert SAPI manager and SuperCore Handler initialization routines to directly pull parameters from configuration table.
* 2008-12-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-12-172-5/+5
| | | | | * rtems/score/m68k.h: Don't include rtems/score/types.h, rtems/stdint.h.
* #include <stdint.h>, #include <time.h>. Remove bogus #include <sys/types.h>.Ralf Corsepius2008-12-171-2/+3
|
* 2008-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-167-27/+95
| | | | | | | | | | | | | * libblock/src/bdbuf.c, libmisc/capture/capture-cli.c, libmisc/capture/capture.c, libmisc/mw-fb/mw_uid.c, rtems/include/rtems/rtems/support.h, score/Makefile.am, score/include/rtems/score/tod.h, score/src/coretod.c, score/src/coretodtickle.c: Eliminate all public use of TOD conversion routines. Eliminate _TOD_Microseconds_per_tick and let every place use the field directly from the Configuration Table. This required moving some methods from macros to bodies. * score/src/coretodmsecstoticks.c, score/src/coretodtickspersec.c, score/src/coretodusectoticks.c: New files.
* 2008-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-163-5/+8
| | | | | | | | | | * libcsupport/src/__times.c, posix/src/adjtime.c, posix/src/clockgetres.c, posix/src/sysconf.c, rtems/src/clockgettickspersecond.c, rtems/src/clockgettod.c, rtems/src/clockset.c, rtems/src/clocktodvalidate.c, score/src/timespecfromticks.c, score/src/timespectoticks.c, score/src/ts64toticks.c: More case converted to use configuration table entry not _TOD_Microseconds_per_tick.
* 2008-12-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-156-17/+17
| | | | | | | | | | | | | | | | | | | | | | * itron/include/rtems/itron/itronapi.h, libmisc/capture/capture.c, libmisc/monitor/mon-config.c, libmisc/monitor/mon-driver.c, libmisc/monitor/mon-itask.c, libmisc/monitor/mon-mpci.c, posix/include/rtems/posix/config.h, posix/include/rtems/posix/posixapi.h, rtems/include/rtems/rtems/config.h, rtems/include/rtems/rtems/rtemsapi.h, rtems/src/taskinitusers.c, sapi/include/confdefs.h, sapi/include/rtems/config.h, sapi/include/rtems/init.h, sapi/src/exinit.c, sapi/src/itronapi.c, sapi/src/posixapi.c, sapi/src/rtemsapi.c, score/src/isr.c, score/src/thread.c, score/src/threadcreateidle.c, score/src/threadstackallocate.c, score/src/threadstackfree.c, score/src/wkspace.c: Eliminate pointers to API configuration tables in the main configuration table. Reference the main configuration table and the API configuration tables directly using the confdefs.h version rather than obtaining a pointer to it. This eliminated some variables, a potential fatal error, some unnecessary default configuration structures. Overall, about a 4.5% reduction in the code size for minimum and hello on the SPARC.
* 2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-1413-41/+43
| | | | | | | | | | | | | | | | * libcsupport/src/realloc.c, rtems/include/rtems/rtems/region.h, rtems/src/regioncreate.c, rtems/src/regionextend.c, rtems/src/regiongetsegment.c, rtems/src/regiongetsegmentsize.c, rtems/src/regionmp.c, rtems/src/regionresizesegment.c, sapi/include/rtems/config.h, score/include/rtems/score/heap.h, score/include/rtems/score/protectedheap.h, score/src/heap.c, score/src/heapallocate.c, score/src/heapallocatealigned.c, score/src/heapextend.c, score/src/heapresizeblock.c, score/src/heapsizeofuserarea.c, score/src/pheapallocate.c, score/src/pheapallocatealigned.c, score/src/pheapextend.c, score/src/pheapgetblocksize.c, score/src/pheapresizeblock.c: Change sizes of heap/region and allocated objects in heap to intptr_t so they can be larger than a single allocatable object (e.g. size_t).
* 2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-141-4/+0
| | | | | | | | | | | | | | * itron/src/chg_pri.c, itron/src/cre_tsk.c, itron/src/rot_rdq.c, posix/Makefile.am, posix/include/rtems/posix/mutex.h, posix/include/rtems/posix/priority.h, posix/src/mutex.c, score/include/rtems/score/priority.h: Run all tests successfully with maxixum number of priorities as 16 instead of 256. This was done by temporarily modifying the score priority.h maximum. This allowed testing of all API code to ensure that it worked properly with a reduced number of priorities. Most modifications were to switch from hard-coded maximum to using the SuperCore variable based upon configured number. * posix/src/mutexdefaultattributes.c: Removed.
* 2008-12-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-111-2/+2
| | | | | * score/inline/rtems/score/address.inl: Make offset arguments intptr_t not int32_t.
* 2008-12-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-113-4/+13
| | | | * cpu.c, cpu_asm.c: Remove warnings -- even if code is just temporary.
* #include <stdint.h> instead of <rtems/stdint.h>.Ralf Corsepius2008-12-1118-18/+18
|
* 2008-12-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-102-6/+5
| | | | | | | | | | * rtems/include/rtems/rtems/ratemon.h, rtems/include/rtems/rtems/types.h, rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c, rtems/src/ratemonperiod.c, rtems/src/ratemonreportstatistics.c, score/include/rtems/score/thread.h, score/src/coretodgetuptime.c: Make all Thread and Period Statistics use publicly defined types. Do not leak the SuperCore Timestamp type through the APIs.
* 2008-12-09 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-0918-61/+1087
| | | | | | | | | | | | | | * score/Makefile.am, score/preinstall.am, score/include/rtems/score/timespec.h, score/include/rtems/score/timestamp.h: Add 64-bit implementation of SuperCore Timestamps. Tested on PowerPC/psim and SPARC/sis. * score/include/rtems/score/timestamp64.h, score/src/ts64addto.c, score/src/ts64divide.c, score/src/ts64dividebyinteger.c, score/src/ts64equalto.c, score/src/ts64getnanoseconds.c, score/src/ts64getseconds.c, score/src/ts64greaterthan.c, score/src/ts64lessthan.c, score/src/ts64set.c, score/src/ts64settozero.c, score/src/ts64subtract.c, score/src/ts64toticks.c, score/src/ts64totimespec.c: New files.
* Add prototypes, eliminate nested externs.Ralf Corsepius2008-12-091-12/+12
|
* 2008-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-0813-58/+433
| | | | | | | | | | | | | | | | | | | | | | | | * libcsupport/src/__times.c, libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c, posix/src/clockgettime.c, posix/src/pthread.c, posix/src/timersettime.c, rtems/include/rtems/rtems/ratemon.h, rtems/src/clockgetsecondssinceepoch.c, rtems/src/clockgetuptime.c, rtems/src/ratemongetstatus.c, rtems/src/ratemonperiod.c, rtems/src/ratemonreportstatistics.c, rtems/src/taskwakewhen.c, rtems/src/timerfirewhen.c, rtems/src/timerserver.c, rtems/src/timerserverfirewhen.c, score/Makefile.am, score/preinstall.am, score/include/rtems/score/thread.h, score/include/rtems/score/tod.h, score/src/coretod.c, score/src/coretodget.c, score/src/coretodgetuptime.c, score/src/coretodset.c, score/src/coretodtickle.c, score/src/threaddispatch.c, score/src/threadinitialize.c: Add SuperCore handler Timestamp to provide an opaque class for the representation and manipulation of uptime, time of day, and the difference between two timestamps. By using SuperCore Timestamp, it is clear which methods and APIs really have to be struct timespec and which can be in an optimized native format. * score/include/rtems/score/timestamp.h, score/src/coretodgetuptimetimespec.c: New files.
* Fix typo.Ralf Corsepius2008-12-0715-15/+15
|
* 2008-12-05 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-053-10/+10
| | | | | | | | * score/include/rtems/score/timespec.h: Remove unnecessary includes. Fix typo. * posix/include/rtems/posix/time.h, score/src/coretodget.c, score/src/coretodgetuptime.c: Add required include files which were formerly included from timespec.h
* 2008-12-05 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-052-0/+6
| | | | * .cvsignore: New file.
* 2008-12-04 Jukka Pietarinen <jukka.pietarinen@mrf.fi>Joel Sherrill2008-12-041-2/+2
| | | | | * configure.ac, librpc/src/xdr/xdr_float.c, score/cpu/Makefile.am: Add Lattice Mico32 support.
* 2008-12-04 Jukka Pietarinen <jukka.pietarinen@mrf.fi>Joel Sherrill2008-12-0410-0/+2122
| | | | | | * ChangeLog, Makefile.am, cpu.c, cpu_asm.S, preinstall.am, rtems/asm.h, rtems/score/cpu.h, rtems/score/cpu_asm.h, rtems/score/lm32.h, rtems/score/types.h: New files.
* 2008-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-12-033-2/+88
| | | | | | | | | | | PR 1347/cpukit * rtems/include/rtems/rtems/timer.h, rtems/src/rtemstimer.c, rtems/src/timerreset.c, rtems/src/timerserver.c, rtems/src/timerserverfireafter.c, rtems/src/timerserverfirewhen.c, score/Makefile.am, score/include/rtems/score/watchdog.h: Rework Timer Server to ensure that the context allows for blocking, allocating memory, and acquiring semaphores and mutexes. * score/src/watchdogadjusttochain.c: New file.
* 2008-12-01 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-12-012-2/+6
| | | | * cpu.c: Links hello again.