summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 2007-11-06 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-11-063-7/+13
| | | | | | PR 1266/cpukit * posix/src/keycreate.c, posix/src/keyrundestructors.c: Use API instead of class for key indexing.
* 2007-11-06 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-11-065-51/+22
| | | | | * telnetd/icmds.c, telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h: Fix headers and formatting.
* 2007-11-06 Glenn Humphrey <glenn.humphrey@OARcorp.com>Glenn Humphrey2007-11-069-24/+114
| | | | | | | | | | | | | | | | 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.
* 2007-11-02 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-11-025-2/+52
| | | | | | | | * 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.
* 2007-10-26 Glenn Humphrey <glenn.humphrey@OARcorp.com>Glenn Humphrey2007-10-264-33/+61
| | | | | | | * 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.
* 2007-10-26 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-10-26135-157/+414
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* 2007-10-26 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-10-265-61/+124
| | | | | | | | | | | | * 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.
* *** empty log message ***Thomas Doerfler2007-10-262-18/+190
|
* added documentation to libi2cThomas Doerfler2007-10-251-0/+178
|
* added SPI support to libi2cThomas Doerfler2007-10-253-10/+192
| | | | | added IRQ support to MPC83xx i2c driver added mpc83xx spi driver
* 2007-10-19 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-10-192-1/+3
| | | | | | * libcsupport/src/assoc.c: Removed. Accidentally included routine also in another file. Mistake after splitting. * libcsupport/Makefile.am: Reflect file removal.
* 2007-10-19 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-10-192-35/+5
| | | | | * libcsupport/src/assoc.c: Removed. Accidentally included routine also in another file. Mistake after splitting.
* 2007-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2007-10-151-0/+6
| | | | | | * libnetworking/netdb.h, libnetworking/libc/gethostnamadr.c, libnetworking/libc/getnetnamadr.c: Adjust to POSIX. Minor updates from FreeBSD.
* Adjust to POSIX. Minor updates from FreeBSD.Ralf Corsepius2007-10-153-14/+7
|
* 2007-10-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-10-113-98/+125
| | | | * score/include/rtems/score/copyrt.h: Update year.
* 2007-10-11 Daniel Hellstrom <daniel@gaisler.com>Joel Sherrill2007-10-112-4/+5
| | | | | * libi2c/libi2c.c, libi2c/libi2c.h: Add message about needing IMFS. Fixed check of status when registering driver. Add use of strerror().
* Regenerate.Ralf Corsepius2007-10-041-0/+4
|
* 2007-10-04 Keith Robertson <kjrobert@alumni.uwaterloo.ca>,Ralf Corsepius2007-10-041-0/+5
| | | | | | | | | | 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).
* 2007-10-04 Keith Robertson <kjrobert@alumni.uwaterloo.ca>,Ralf Corsepius2007-10-041-0/+9
| | | | | | | | | | 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).
* Add if_nameindex etc. (from FreeBSD).Ralf Corsepius2007-10-041-0/+13
|
* New (from FreeBSD)Ralf Corsepius2007-10-044-0/+704
|
* 2007-09-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-09-282-10/+20
| | | | | | | * 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.
* 2007-09-25 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-09-252-4/+8
| | | | * libcsupport/src/gxx_wrappers.c: Revert.
* 2007-09-25 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-09-253-6/+12
| | | | | * libcsupport/src/gxx_wrappers.c, libmisc/monitor/mon-mpci.c: Use PRId32 to fix warning.
* 2007-09-25 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-09-252-0/+31
| | | | * telnetd/passwd.h: New file.
* 2007-09-25 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-09-259-549/+1698
| | | | | | * 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.
* 2007-09-24 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-09-2412-261/+1160
| | | | | | | | | | 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.
* 2007-09-21 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-09-213-2/+61
| | | | | | | * 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.
* 2007-09-21 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2007-09-212-2/+7
| | | | | * aclocal/version.m4: Bump RTEMS_API to 4.9. Bump RTEMS_VERSION to 4.8.99.0.
* 2007-09-20 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-09-203-2/+6
| | | | * libcsupport/src/read.c, libcsupport/src/write.c: Fix spacing.
* 2007-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-09-172-6/+7
| | | | * posix/src/semaphorecreatesupp.c: Fixed warning.
* 2007-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-09-172-1/+6
| | | | * libmisc/dumpbuf/dumpbuf.c: Use printk.
* 2007-09-16 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2007-09-162-1/+8
| | | | | * libnetworking/net/ppp_defs.h: Include rtems/stdint.h. Use uint32_t for ext_accm.
* 2007-09-16 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2007-09-161-0/+7
| | | | | | | * 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.
* Convert to using C99 fixed-size types instead of BSD fixed-size types.Ralf Corsepius2007-09-1612-121/+121
|
* 2007-09-14 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-09-142-2/+6
| | | | * libmisc/stackchk/check.c: Fix alignment of output.
* 2007-09-14 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-09-144-0/+357
| | | | | | * 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.
* 2007-09-14 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-09-142-2/+10
| | | | | | PR 1261/cpukit * posix/src/semaphorecreatesupp.c: Initialize all fields during semaphore creation.
* 2007-09-14 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-09-142-2/+9
| | | | | | PR 1260/cpukit * posix/src/pthread.c: Get initial signals blocked from creating thread not from ourselves.
* 2007-09-14 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-09-142-2/+6
| | | | * score/src/watchdogtickle.c: Remove tabs.
* 2007-09-13 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-09-132-2/+7
| | | | | | PR 1259/rtems * rtems/src/taskcreate.c: Initialize is_global in all cases since memory is not guaranteed to be zero.
* 2007-09-12 Sergei Organov <osv@javad.com>Joel Sherrill2007-09-123-8/+75
| | | | | | | | | | 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().
* 2007-09-10 Alain Schaefer <alani@easc.ch>Joel Sherrill2007-09-102-4/+21
| | | | | | * 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
* 2007-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-09-102-5/+4
| | | | * libcsupport/src/printk.c: Remove unnecessary comments.
* 2007-09-10 Alain Schaefer <alani@easc.ch>Joel Sherrill2007-09-102-0/+33
| | | | * rtems/bfin/bf533.h: Add more definitions.
* Corrected linked list of monitor commandsThomas Doerfler2007-09-102-8/+16
|
* 2007-09-07 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-09-072-2/+28
| | | | | | | * 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.
* 2007-09-07 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-09-074-11/+31
| | | | | | | * 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.
* 2007-09-06 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-09-0611-53/+210
| | | | | | | | | | | | | | | | * 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.
* 2007-09-06 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-09-062-35/+36
| | | | * shttpd/compat_rtems.c: Style clean up.