| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* rtems/Makefile.am, rtems/include/rtems/rtems/attr.h,
rtems/include/rtems/rtems/barrier.h,
rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/intr.h,
rtems/include/rtems/rtems/message.h,
rtems/include/rtems/rtems/part.h,
rtems/include/rtems/rtems/ratemon.h,
rtems/include/rtems/rtems/region.h, rtems/include/rtems/rtems/sem.h,
rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
rtems/src/barrier.c, rtems/src/dpmem.c, rtems/src/msg.c,
rtems/src/part.c, rtems/src/ratemon.c, rtems/src/region.c,
rtems/src/rtemstimer.c, rtems/src/sem.c, rtems/src/tasks.c,
sapi/src/rtemsapi.c: Convert manager initialization routines to
directly pull parameters from configuration table. Eliminate empty
routines sportted.
* rtems/src/intr.c: Removed.
|
| |
|
|
|
|
|
| |
* Makefile.am: Remove include/rtems/stdint.h.
* include/rtems/stdint.h: Remove.
|
| |
|
| |
|
|
|
|
| |
* configure.ac: Require stdint.h.
|
|
|
|
|
| |
* rtems/score/m68k.h: Don't include rtems/score/types.h,
rtems/stdint.h.
|
|
|
|
|
| |
* score/include/rtems/score/timespec.h: #include <stdint.h>,
#include <time.h>. Remove bogus #include <sys/types.h>.
|
| |
|
|
|
|
|
| |
* libmisc/monitor/mon-config.c: Configuration table entry
work_space_size was not removed.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* libgnat/adasupp.c: Add helper method so Ada binding does not
reference _TOD_Microseconds_per_tick.
|
|
|
|
|
| |
* sapi/include/rtems/config.h: Remove commented out lines. Add macro
for rtems_configuration_get_nanoseconds_per_tick().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* rtems/include/rtems/rtems/types.h: Fix incorrect type name.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* score/inline/rtems/score/address.inl: Make offset arguments intptr_t
not int32_t.
|
|
|
|
| |
* cpu.c, cpu_asm.c: Remove warnings -- even if code is just temporary.
|
|
|
|
|
| |
* libnetworking/net/if_arp.h, libnetworking/net/route.h:
Include <sys/socket.h> to make header self contained.
|
| |
|
|
|
|
| |
* zlib/zconf.h: #include <stdint.h> instead of <rtems/stdint.h>.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>.
|
|
|
|
|
|
|
|
|
| |
* 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>.
|
| |
|
|
|
|
| |
* aclocal/prog-cc.m4: Use -r instead of -Wl,-r to build *.rels.
|
| |
|
|
|
|
| |
* libcsupport/src/strlcat.c: Add prototypes.
|
|
|
|
| |
* libmisc/Makefile.am: Remove stray "\".
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* libblock/src/bdbuf.c: Fix typo having crept in during
boolean->bool transition.
|
|
|
|
| |
* score/cpu/unix/cpu.c: Add prototypes, eliminate nested externs.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* libfs/src/nfsclient/src/nfs.c: Use
rtems_clock_get_seconds_since_epoch() from public API.
|
|
|
|
|
| |
* libfs/src/nfsclient/Makefile.am: Remove RTEMS_RELLDFLAGS.
* aclocal/prog-cc.m4: Add RTEMS_RELLDFLAGS hack.
|
|
|
|
| |
* libfs/src/nfsclient/src/dirutils.c: #include <limits.h>.
|
|
|
|
| |
* rtems/include/rtems/rtems/clock.h: #include <sys/time.h>
|
| |
|
|
|
|
|
| |
* librpc/include/rpc/rpcent.h: #include <rpc/types.h>.
* librpc/include/rpc/xdr.h: #include <rtems/bsd/sys/cdefs.h>.
|
| |
|
| |
|
|
|
|
|
|
|
| |
* 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" {}.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* 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.
|