summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2008-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-1613-34/+116
| | | | | | | | | | | | | * 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-1612-20/+45
| | | | | | | | | | * 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-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-162-2/+12
| | | | | * libgnat/adasupp.c: Add helper method so Ada binding does not reference _TOD_Microseconds_per_tick.
* 2008-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-162-6/+7
| | | | | * sapi/include/rtems/config.h: Remove commented out lines. Add macro for rtems_configuration_get_nanoseconds_per_tick().
* 2008-12-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-1525-300/+246
| | | | | | | | | | | | | | | | | | | | | | * 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-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-152-1/+5
| | | | * rtems/include/rtems/rtems/types.h: Fix incorrect type name.
* 2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-1423-62/+80
| | | | | | | | | | | | | | | | * 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-1410-52/+43
| | | | | | | | | | | | | | * 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-112-2/+7
| | | | | * 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.
* 2008-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-12-111-0/+5
| | | | | * libnetworking/net/if_arp.h, libnetworking/net/route.h: Include <sys/socket.h> to make header self contained.
* Include <sys/socket.h> to make header self contained.Ralf Corsepius2008-12-112-0/+3
|
* 2008-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-12-111-0/+1
| | | | * zlib/zconf.h: #include <stdint.h> instead of <rtems/stdint.h>.
* #include <stdint.h> instead of <rtems/stdint.h>.Ralf Corsepius2008-12-1130-32/+30
|
* 2008-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-12-111-0/+21
| | | | | | | | | | | | | | | | | | | | | * score/cpu/arm/rtems/score/types.h, score/cpu/avr/rtems/score/types.h, score/cpu/bfin/rtems/score/types.h, score/cpu/c4x/rtems/score/types.h, score/cpu/h8300/rtems/score/types.h, score/cpu/i386/rtems/score/types.h, score/cpu/lm32/rtems/score/types.h, score/cpu/m32c/rtems/score/types.h, score/cpu/m32r/rtems/score/types.h, score/cpu/m68k/rtems/score/types.h, score/cpu/mips/rtems/score/types.h, score/cpu/nios2/rtems/score/types.h, score/cpu/no_cpu/rtems/score/types.h, score/cpu/powerpc/rtems/score/types.h, score/cpu/sh/rtems/score/types.h, score/cpu/sparc/rtems/score/types.h, score/cpu/unix/rtems/score/types.h: #include <stdint.h> instead of <rtems/stdint.h>.
* 2008-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-12-111-0/+9
| | | | | | | | | * libcsupport/src/readdir.c, libmd/md4.h, libmd/md5.h, libmisc/mw-fb/mw_fb.h, libnetworking/net/ppp_defs.h, libnetworking/net/slcompress.c, libnetworking/rtems/bsdnet/_types.h, libnetworking/sys/sysctl.h, librpc/include/rpc/types.h, pppd/pppd.h, rtems/include/rtems/rtems/types.h, score/include/rtems/system.h: #include <stdint.h> instead of <rtems/stdint.h>.
* Use -r instead of -Wl,-r to build *.rels.Ralf Corsepius2008-12-101-1/+1
|
* 2008-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-12-101-0/+1
| | | | * aclocal/prog-cc.m4: Use -r instead of -Wl,-r to build *.rels.
* Add prototypes.Ralf Corsepius2008-12-101-4/+4
|
* 2008-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-12-101-0/+1
| | | | * libcsupport/src/strlcat.c: Add prototypes.
* 2008-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-12-101-0/+4
| | | | * libmisc/Makefile.am: Remove stray "\".
* Remove stray "\".Ralf Corsepius2008-12-101-1/+0
|
* 2008-12-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-109-60/+149
| | | | | | | | | | * 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-0919-61/+1101
| | | | | | | | | | | | | | * 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.
* 2008-12-09 Sebastian Huber <sebastian.huber@embedded-brains.de>Ralf Corsepius2008-12-092-1/+6
| | | | | * libblock/src/bdbuf.c: Fix typo having crept in during boolean->bool transition.
* 2008-12-09 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-12-091-0/+4
| | | | * score/cpu/unix/cpu.c: Add prototypes, eliminate nested externs.
* Add prototypes, eliminate nested externs.Ralf Corsepius2008-12-091-12/+12
|
* 2008-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-0830-159/+573
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
* 2008-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-082-13/+8
| | | | | * libfs/src/nfsclient/src/nfs.c: Use rtems_clock_get_seconds_since_epoch() from public API.
* 2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-12-083-2/+7
| | | | | * libfs/src/nfsclient/Makefile.am: Remove RTEMS_RELLDFLAGS. * aclocal/prog-cc.m4: Add RTEMS_RELLDFLAGS hack.
* 2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-12-082-0/+5
| | | | * libfs/src/nfsclient/src/dirutils.c: #include <limits.h>.
* 2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-12-081-0/+1
| | | | * rtems/include/rtems/rtems/clock.h: #include <sys/time.h>
* #include <sys/time.h>Ralf Corsepius2008-12-081-0/+2
|
* 2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-12-081-0/+5
| | | | | * librpc/include/rpc/rpcent.h: #include <rpc/types.h>. * librpc/include/rpc/xdr.h: #include <rtems/bsd/sys/cdefs.h>.
* #include <rpc/types.h>.Ralf Corsepius2008-12-081-0/+2
|
* #include <rtems/bsd/sys/cdefs.h>.Ralf Corsepius2008-12-081-0/+3
|
* 2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-12-081-0/+7
| | | | | | | * libfs/src/devfs/devfs.h: Add missing "extern"s. * libfs/src/imfs/imfs.h: Add missing "extern"s * libfs/src/pipe/pipe.h: Add missing "extern"s. Add extern "C" {}.
* Add missing "extern"s. Add extern "C" {}.Ralf Corsepius2008-12-081-9/+17
|
* Add missing "extern"sRalf Corsepius2008-12-082-72/+72
|
* 2008-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-12-071-0/+9
| | | | | | | | | * 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/lm32/cpu.c, score/cpu/m32c/cpu.c, score/cpu/m32r/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, score/cpu/unix/cpu.c: Fix typo.
* Fix typo.Ralf Corsepius2008-12-0715-15/+15
|
* 2008-12-05 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-055-10/+19
| | | | | | | | * 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-2/+17
| | | | | * libfs/src/pipe/fifo.c: Do not include .inl files directly. Use .h files with kernel visibility violated until functionality exposed.
* 2008-12-05 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-052-0/+6
| | | | * .cvsignore: New file.
* 2008-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-12-052-2/+10
| | | | * configure.ac: Check for functions in newlib.
* 2008-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-12-052-1/+3
| | | | | * posix/Makefile.am: Unconditionally compile files which now are in newlib.
* 2008-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-12-052-3/+8
| | | | | * libcsupport/Makefile.am: Unconditionally compile files which now are in newlib.
* 2008-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-12-051-0/+8
| | | | | | | | * posix/src/execl.c, posix/src/execle.c, posix/src/execlp.c, posix/src/execv.c, posix/src/execve.c, posix/src/execvp.c, posix/src/sleep.c, posix/src/usleep.c: Compile contents conditionally.
* Compile contents conditionally.Ralf Corsepius2008-12-0518-2/+73
|
* 2008-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-12-051-0/+9
| | | | | | | | | * libcsupport/src/closedir.c, libcsupport/src/getcwd.c, libcsupport/src/isatty.c, libcsupport/src/opendir.c, libcsupport/src/readdir.c, libcsupport/src/readdir_r.c, libcsupport/src/rewinddir.c, libcsupport/src/seekdir.c, libcsupport/src/telldir.c, libcsupport/src/ttyname.c: Compile contents conditionally.