| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
PR 1266/cpukit
* posix/src/keycreate.c, posix/src/keyrundestructors.c: Use API instead
of class for key indexing.
|
|
|
|
|
| |
* telnetd/icmds.c, telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h:
Fix headers and formatting.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Miscellaneous changes made after a review against the POSIX spec.
* posix/src/pbarrierinit.c, posix/src/prwlockinit.c: If the caller
passes a NULL in the attributes parameter, default attributes are used.
* posix/src/prwlockdestroy.c: If there is at least one thread
waiting, do not allow deletion.
* posix/src/prwlockwrlock.c: Corrected parameter passed to the core
operation used to obtain a RWLock for writing.
* posix/src/pspinlocktranslatereturncode.c,
score/include/rtems/score/corespinlock.h,
score/src/corespinlockrelease.c: If the current thread is not the
holder of the lock, do not allow an unlock and return EPERM.
* score/src/corerwlockobtainwrite.c: Corrected to use the operation
for queueing with a timeout handler.
|
|
|
|
|
|
|
|
| |
* score/cpu/sparc/cpu.c, score/cpu/sparc/rtems/score/cpu.h,
score/include/rtems/score/context.h, score/src/threadhandler.c: Fix
stack so gdb backtrace does not print corrupted frame message after
_Thread_Handler. Daniel Hellstrom <daniel@gaisler.com> provided the
SPARC implementation and I made it more general.
|
|
|
|
|
|
|
| |
* libmisc/cpuuse/cpuusagereport.c, rtems/src/ratemonreportstatistics.c:
Cleaned up reports and fixed a bug related the printf format which
resulted in lack of leading zeroes and misleading magnitude.
* score/src/timespecdivide.c: Fixed bugs related to zero divide case.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* itron/src/can_wup.c, itron/src/chg_pri.c, itron/src/del_mbf.c,
itron/src/del_mbx.c, itron/src/del_sem.c, itron/src/del_tsk.c,
itron/src/frsm_tsk.c, itron/src/ref_mbf.c, itron/src/ref_mbx.c,
itron/src/ref_sem.c, itron/src/ref_tsk.c, itron/src/rel_wai.c,
itron/src/rsm_tsk.c, itron/src/sig_sem.c, itron/src/snd_mbx.c,
itron/src/sta_tsk.c, itron/src/sus_tsk.c, itron/src/ter_tsk.c,
itron/src/trcv_mbf.c, itron/src/trcv_mbx.c, itron/src/tsnd_mbf.c,
itron/src/twai_sem.c, posix/src/cancel.c, posix/src/conddestroy.c,
posix/src/condinit.c, posix/src/condsignalsupp.c,
posix/src/condwaitsupp.c, posix/src/keydelete.c,
posix/src/keygetspecific.c, posix/src/keysetspecific.c,
posix/src/mqueueclose.c, posix/src/mqueuegetattr.c,
posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
posix/src/mutexdestroy.c, posix/src/mutexgetprioceiling.c,
posix/src/mutexinit.c, posix/src/mutexlocksupp.c,
posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c,
posix/src/pbarrierdestroy.c, posix/src/pbarrierwait.c,
posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c,
posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
posix/src/prwlocktryrdlock.c, posix/src/prwlocktrywrlock.c,
posix/src/prwlockunlock.c, posix/src/prwlockwrlock.c,
posix/src/pspindestroy.c, posix/src/pspinlock.c,
posix/src/pspintrylock.c, posix/src/pspinunlock.c,
posix/src/pthreaddetach.c, posix/src/pthreadequal.c,
posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c,
posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c,
posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c,
posix/src/semclose.c, posix/src/semdestroy.c,
posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c,
rtems/src/barrierdelete.c, rtems/src/barrierrelease.c,
rtems/src/barrierwait.c, rtems/src/dpmemdelete.c,
rtems/src/dpmemexternal2internal.c,
rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c,
rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c,
rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c,
rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c,
rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c,
rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c,
rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
rtems/src/ratemontimeout.c, rtems/src/regiondelete.c,
rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
rtems/src/regionreturnsegment.c, rtems/src/semdelete.c,
rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c,
rtems/src/signalsend.c, rtems/src/taskdelete.c,
rtems/src/taskgetnote.c, rtems/src/taskissuspended.c,
rtems/src/taskrestart.c, rtems/src/taskresume.c,
rtems/src/tasksetnote.c, rtems/src/tasksetpriority.c,
rtems/src/taskstart.c, rtems/src/tasksuspend.c,
rtems/src/taskvariableadd.c, rtems/src/taskvariabledelete.c,
rtems/src/taskvariableget.c, rtems/src/timercancel.c,
rtems/src/timerdelete.c, rtems/src/timerfireafter.c,
rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
rtems/src/timerreset.c, rtems/src/timerserverfireafter.c,
rtems/src/timerserverfirewhen.c, sapi/src/extensiondelete.c,
score/include/rtems/score/object.h, score/src/corerwlocktimeout.c,
score/src/mpci.c, score/src/objectgetnameasstring.c,
score/src/threaddelayended.c, score/src/threadqtimeout.c: When
multiprocessing is disabled, do not even allow the constant
OBJECTS_REMOTE to appear in the source. Even at -O2, the presence of
a case OBJECTS_REMOTE in each id->pointer _Objects_Get switch results
in the generation of binary code which can NOT be reached.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* score/Makefile.am, score/include/rtems/score/thread.h,
score/inline/rtems/score/thread.inl: No longer inline _Thread_Get. It
resulted in unnessary code explosion, many uncovered paths when
looking at binary executable coverage, and only optimized getting
self. Id translations were still getting pushed to a subroutine call
to _Objects_Get. Later the non-inlined version can be further
optimized to get Ids in range for the current API, then self, then
look at other APIs.
* score/src/threadget.c: New file.
|
| |
|
| |
|
|
|
|
|
| |
added IRQ support to MPC83xx i2c driver
added mpc83xx spi driver
|
|
|
|
|
|
| |
* libcsupport/src/assoc.c: Removed. Accidentally included routine
also in another file. Mistake after splitting.
* libcsupport/Makefile.am: Reflect file removal.
|
|
|
|
|
| |
* libcsupport/src/assoc.c: Removed. Accidentally included routine
also in another file. Mistake after splitting.
|
|
|
|
|
|
| |
* libnetworking/netdb.h, libnetworking/libc/gethostnamadr.c,
libnetworking/libc/getnetnamadr.c: Adjust to POSIX.
Minor updates from FreeBSD.
|
| |
|
|
|
|
| |
* score/include/rtems/score/copyrt.h: Update year.
|
|
|
|
|
| |
* libi2c/libi2c.c, libi2c/libi2c.h: Add message about needing IMFS.
Fixed check of status when registering driver. Add use of strerror().
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/ifaddrs.h, libnetworking/libc/getifaddrs.c,
libnetworking/libc/if_indextoname.c,
libnetworking/libc/if_nameindex.c: New (from FreeBSD)
* Makefile.am: Add files above.
* libnetworking/net/if.h: Add if_nameindex (from FreeBSD).
|
|
|
|
|
|
|
|
|
|
| |
Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/ifaddrs.h, libnetworking/libc/getifaddrs.c,
libnetworking/libc/if_indextoname.c,
libnetworking/libc/if_nameindex.c: New (from FreeBSD)
* Makefile.am: Add files above.
* libnetworking/net/if.h: Add if_nameindex (from FreeBSD).
|
| |
|
| |
|
|
|
|
|
|
|
| |
* libmisc/stackchk/check.c: Eliminate output with little information.
Always print a blown message using the same routine. Now works with
GNAT RTS -fstack-checking if you have patch for the RTEMS specific
support in your GCC version.
|
|
|
|
| |
* libcsupport/src/gxx_wrappers.c: Revert.
|
|
|
|
|
| |
* libcsupport/src/gxx_wrappers.c, libmisc/monitor/mon-mpci.c: Use
PRId32 to fix warning.
|
|
|
|
| |
* telnetd/passwd.h: New file.
|
|
|
|
|
|
| |
* telnetd/README, telnetd/pty.c, telnetd/pty.h, telnetd/telnetd.c,
telnetd/telnetd.h: telnetd rewrite.
* telnetd/check_passwd.c, telnetd/des.c, telnetd/genpw.c: New files.
|
|
|
|
|
|
|
|
|
|
| |
PR 1262/filesystem
* libcsupport/Makefile.am, libnetworking/libc/herror.c,
libnetworking/libc/res_send.c, libnetworking/sys/uio.h,
telnetd/Makefile.am, telnetd/README, telnetd/preinstall.am,
telnetd/pty.c, telnetd/telnetd.c: Add support for readv() and
writev() including documentation and test case.
* libcsupport/src/readv.c, libcsupport/src/writev.c: New files.
|
|
|
|
|
|
|
| |
* libnetworking/Makefile.am: Add dummy socketpair() implementation to
document what is required to provide a fully functional
implementation.
* libnetworking/rtems/rtems_socketpair.c: New file.
|
|
|
|
|
| |
* aclocal/version.m4: Bump RTEMS_API to 4.9.
Bump RTEMS_VERSION to 4.8.99.0.
|
|
|
|
| |
* libcsupport/src/read.c, libcsupport/src/write.c: Fix spacing.
|
|
|
|
| |
* posix/src/semaphorecreatesupp.c: Fixed warning.
|
|
|
|
| |
* libmisc/dumpbuf/dumpbuf.c: Use printk.
|
|
|
|
|
| |
* libnetworking/net/ppp_defs.h: Include rtems/stdint.h.
Use uint32_t for ext_accm.
|
|
|
|
|
|
|
| |
* pppd/auth.c, pppd/demand.c, pppd/ipcp.c, pppd/ipcp.h,
pppd/lcp.c, pppd/lcp.h, pppd/magic.c, pppd/magic.h, pppd/options.c,
pppd/pppd.h, pppd/sys-rtems.c, pppd/utils.c: Convert to using C99
fixed-size types instead of BSD fixed-size types.
|
| |
|
|
|
|
| |
* libmisc/stackchk/check.c: Fix alignment of output.
|
|
|
|
|
|
| |
* libmisc/monitor/monitor.h: Add network commands that were in the
network supplement but not in the code.
* libmisc/monitor/mon-network.c: New file.
|
|
|
|
|
|
| |
PR 1261/cpukit
* posix/src/semaphorecreatesupp.c: Initialize all fields during
semaphore creation.
|
|
|
|
|
|
| |
PR 1260/cpukit
* posix/src/pthread.c: Get initial signals blocked from creating
thread not from ourselves.
|
|
|
|
| |
* score/src/watchdogtickle.c: Remove tabs.
|
|
|
|
|
|
| |
PR 1259/rtems
* rtems/src/taskcreate.c: Initialize is_global in all cases since
memory is not guaranteed to be zero.
|
|
|
|
|
|
|
|
|
|
| |
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().
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
* libcsupport/src/printk.c: Remove unnecessary comments.
|
|
|
|
| |
* rtems/bfin/bf533.h: Add more definitions.
|
| |
|
|
|
|
|
|
|
| |
* libcsupport/src/malloc.c: If RTEMS_HEAP_DEBUG is defined, add heap
walk on init, malloc, and free. The ability to walk the heap appears
to disappeared during the rework of the C Program heap to skip the
Region.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libcsupport/Makefile.am, libcsupport/src/printk.c:
* libcsupport/src/printk_plugin.c: New file.
include/rtems/bspIo.h, libmisc/cpuuse/cpuusagereport.c,
libmisc/cpuuse/cpuuse.h, libmisc/stackchk/check.c,
libmisc/stackchk/stackchk.h: rtems/include/rtems/rtems/ratemon.h,
rtems/src/ratemonreportstatistics.c: Added capability to specify
your own "printf" routine to various reporting functions. This
added an XXX_with_plugin as the underlying implementation for
+ rtems_rate_monotonic_report_statistics
+ rtems_stack_checker_report_usage
+ rtems_cpu_usage_report
As demonstration, the http netdemo can now print out stack
and cpu usage reports.
|
|
|
|
| |
* shttpd/compat_rtems.c: Style clean up.
|