| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
* libnetworking/net/rtsock.c: Add missing initializers.
|
| |
|
|
|
|
| |
* libnetworking/libc/res_debug.c: Add missing initializers.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* score/inline/rtems/score/address.inl,
score/inline/rtems/score/chain.inl,
score/inline/rtems/score/corebarrier.inl,
score/inline/rtems/score/coremsg.inl,
score/inline/rtems/score/coremutex.inl,
score/inline/rtems/score/coresem.inl,
score/inline/rtems/score/corespinlock.inl,
score/inline/rtems/score/heap.inl,
score/inline/rtems/score/isr.inl,
score/inline/rtems/score/mppkt.inl,
score/inline/rtems/score/object.inl,
score/inline/rtems/score/priority.inl,
score/inline/rtems/score/stack.inl,
score/inline/rtems/score/states.inl,
score/inline/rtems/score/sysstate.inl,
score/inline/rtems/score/thread.inl,
score/inline/rtems/score/tqdata.inl,
score/inline/rtems/score/watchdog.inl:
Eliminate TRUE/FALSE.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libnetworking/net/if.c, libnetworking/net/if_ethersubr.c
libnetworking/net/if_loop.c, libnetworking/net/raw_cb.c,,
libnetworking/net/raw_usrreq.c, libnetworking/netinet/in.c,
libnetworking/netinet/in_pcb.c, libnetworking/netinet/ip_divert.c,
libnetworking/netinet/ip_input.c, libnetworking/netinet/ip_mroute.c,
libnetworking/netinet/ip_output.c, libnetworking/netinet/raw_ip.c,
libnetworking/netinet/tcp_debug.c, libnetworking/netinet/tcp_input.c,
libnetworking/netinet/tcp_output.c, libnetworking/netinet/tcp_subr.c,
libnetworking/netinet/tcp_timer.c, libnetworking/netinet/tcp_usrreq.c,
libnetworking/netinet/udp_usrreq.c,
libnetworking/rtems/rtems_mii_ioctl_kern.c,
libnetworking/rtems/rtems_select.c,
libnetworking/rtems/rtems_socketpair.c,
libnetworking/rtems/rtems_syscall.c:
Include <errno.h> (POSIX,C99) instead of <sys/errno.h> (BSD'ism).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* score/include/rtems/score/context.h,
score/include/rtems/score/corebarrier.h,
score/include/rtems/score/coremsg.h,
score/include/rtems/score/coremutex.h,
score/include/rtems/score/corerwlock.h,
score/include/rtems/score/coresem.h,
score/include/rtems/score/heap.h,
score/include/rtems/score/isr.h,
score/include/rtems/score/object.h,
score/include/rtems/score/objectmp.h,
score/include/rtems/score/protectedheap.h,
score/include/rtems/score/thread.h,
score/include/rtems/score/threadq.h,
score/include/rtems/score/tod.h,
score/include/rtems/score/userext.h,
score/include/rtems/score/wkspace.h:
Eliminate TRUE/FALSE.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* score/src/apimutex.c, score/src/apimutexallocate.c,
score/src/apimutexlock.c, score/src/corebarrierwait.c,
score/src/coremsg.c, score/src/coremsgseize.c,
score/src/coremutexseize.c, score/src/coremutexsurrender.c,
score/src/coresemseize.c, score/src/coretod.c,
score/src/coretodset.c, score/src/heapfree.c,
score/src/heapsizeofuserarea.c, score/src/heapwalk.c,
score/src/interr.c, score/src/isr.c,
score/src/mpci.c, score/src/objectinitializeinformation.c,
score/src/objectmp.c, score/src/objectnametoid.c,
score/src/objectnametoidstring.c, score/src/objectsetname.c,
score/src/thread.c, score/src/threadblockingoperationcancel.c,
score/src/threadchangepriority.c, score/src/threadclearstate.c,
score/src/threadcreateidle.c, score/src/threaddispatch.c,
score/src/threadevaluatemode.c, score/src/threadhandler.c,
score/src/threadinitialize.c, score/src/threadmp.c,
score/src/threadqextractpriority.c,
score/src/threadqextractwithproxy.c,
score/src/threadqrequeue.c, score/src/threadready.c,
score/src/threadresettimeslice.c, score/src/threadrestart.c,
score/src/threadresume.c, score/src/threadrotatequeue.c,
score/src/threadsetstate.c, score/src/threadstartmultitasking.c,
score/src/threadsuspend.c, score/src/threadyieldprocessor.c,
score/src/timespecgreaterthan.c, score/src/timespecisvalid.c,
score/src/timespeclessthan.c, score/src/userextthreadcreate.c,
score/src/wkspace.c: Eliminate TRUE/FALSE.
|
| |
|
|
|
|
|
| |
* libi2c/libi2c.h: Change header guard to RTEMS conventions.
Add extern's.
|
|
|
|
| |
Add extern's.
|
| |
|
|
|
|
| |
* aclocal/canonical-target-name.m4: Remove tic4x.
|
|
|
|
|
| |
* libcsupport/src/malloc_statistics_helpers.c: Use intptr_t not
ssize_t.
|
|
|
|
|
| |
* score/inline/rtems/score/object.inl, score/src/objectgetbyindex.c:
Fix issues when using 16-bit object Ids.
|
|
|
|
|
| |
* itron/include/itronsys/types.h: Derive ITRON ID type from Objects_Id
to avoid sizing mismatches.
|
|
|
|
|
|
| |
* rtems/src/dpmemcreate.c: Spacing.
* rtems/src/timerserver.c: Move error check to RTEMS_DEBUG. Cannot
happen under normal circumstances.
|
|
|
|
|
|
|
|
| |
* libblock/src/ide_part_table.c: Fixed NULL pointer access.
* libmisc/monitor/mon-command.c, libmisc/monitor/mon-editor.c,
libmisc/monitor/mon-monitor.c, libmisc/monitor/monitor.h,
libmisc/shell/cmds.c: The list of registered monitor commands is now
private and only accessible via a lookup and iterate function.
|
|
|
|
| |
* zutil.c, zutil.h: Make code match prototype to eliminate warnings.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* libmisc/shell/cmds.c: Revert back to public. Used to execute monitor
commands in test code.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libmisc/serdbg/termios_printk.c, libmisc/serdbg/termios_printk.h:
Fixed incompatible return value.
* libmisc/cpuuse/cpuusagereport.c: Changed output format.
* libmisc/Makefile.am, libmisc/monitor/mon-editor.c: New file.
* libmisc/capture/capture-cli.c, libmisc/monitor/mon-command.c,
libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c,
libmisc/monitor/mon-prmisc.c, libmisc/monitor/mon-symbols.c,
libmisc/monitor/monitor.h, libmisc/shell/cat_file.c,
libmisc/shell/cmds.c, libmisc/shell/internal.h,
libmisc/shell/main_help.c, libmisc/shell/shell.c,
libmisc/shell/shell.h, libmisc/shell/shell_cmdset.c,
libmisc/shell/shell_getchar.c, libmisc/shell/str2int.c: Various global
data is now read only. Added 'const' qualifier to many pointer
parameters. It is no longer possible to remove monitor commands.
Moved monitor line editor into a separate file to avoid unnecessary
dependencies.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* itron/include/rtems/itron/config.h,
itron/include/rtems/itron/eventflags.h,
itron/include/rtems/itron/fmempool.h,
itron/include/rtems/itron/mbox.h,
itron/include/rtems/itron/msgbuffer.h,
itron/include/rtems/itron/port.h,
itron/include/rtems/itron/semaphore.h,
itron/include/rtems/itron/task.h,
itron/include/rtems/itron/vmempool.h, itron/src/eventflags.c,
itron/src/fmempool.c, itron/src/itroninittasks.c,
itron/src/itronsem.c, itron/src/mbox.c, itron/src/msgbuffer.c,
itron/src/port.c, itron/src/task.c, itron/src/vmempool.c,
sapi/src/itronapi.c: Convert ITRON manager initialization routines to
directly pull parameters from configuration table.
|
|
|
|
| |
* posix/include/rtems/posix/config.h: Fix typo.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* posix/include/rtems/posix/barrier.h,
posix/include/rtems/posix/cond.h, posix/include/rtems/posix/key.h,
posix/include/rtems/posix/mqueue.h,
posix/include/rtems/posix/mutex.h,
posix/include/rtems/posix/psignal.h,
posix/include/rtems/posix/pthread.h,
posix/include/rtems/posix/ptimer.h,
posix/include/rtems/posix/rwlock.h,
posix/include/rtems/posix/semaphore.h,
posix/include/rtems/posix/spinlock.h,
posix/include/rtems/posix/timer.h, posix/src/cond.c, posix/src/key.c,
posix/src/mqueue.c, posix/src/mutex.c, posix/src/pbarrier.c,
posix/src/prwlock.c, posix/src/psignal.c, posix/src/pspin.c,
posix/src/pthread.c, posix/src/pthreadinitthreads.c,
posix/src/ptimer.c, posix/src/semaphore.c, sapi/src/posixapi.c:
Convert POSIX manager initialization routines to directly pull
parameters from configuration table.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|