summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* score: PR2179: Fix initially locked PCP mutexesSebastian Huber2014-05-231-2/+3
| | | | | Elevate the priority of the creating task to the ceiling priority in case a semaphore is created as initially locked.
* posix: fix race condition between pthread_create and capture engineTill Strauman2014-04-111-0/+5
| | | | | | | Fix PR 2068: Reproducable crashes occur when using pthreads and the capture engine at the same time. 'pthread_create()' is the culprit. It creates a SCORE thread and then calls Thread_Start( ) without disabling thread-dispatching.
* score: PR2140: Fix _Thread_queue_Process_timeout()Sebastian Huber2013-08-261-8/+37
| | | | | | The _Thread_queue_Process_timeout() operation had several race conditions in the event of nested interrupts. Protect the critical sections via disabled interrupts.
* score: PR2140: _Thread_queue_Extract()Sebastian Huber2013-08-264-11/+14
| | | | | Return if the executing context performed the extract operation since interrupts may interfere.
* libblock: PR2040: Avoid NULL pointer accessSebastian Huber2013-08-231-6/+16
| | | | | | | This partly reverts commit 08b9d534604fbf437743a9925ef28eb1b848510d. Avoid a NULL pointer access and perform the source segment erase if necessary.
* score: Fix _Objects_Shrink_information()Sebastian Huber2013-01-071-20/+16
| | | | The chain iteration was wrong. The chain tail is not an object.
* rtems: Critical fix for eventsSebastian Huber2013-01-071-7/+12
| | | | | | | Commit 4b45c1393ce4ee3e1c2762ef3145d2bd6b5b38da marked a test in _Event_Timeout() as debug only. This test is required also in non-debug configurations since otherwise state corruption can happen. A revised test sptests/spintrcritical10 checks the relevant sequences.
* score: Critical fix for timer serverSebastian Huber2012-12-061-7/+0
| | | | | | | | Under certain conditions it is possible that a call to _Watchdog_Adjust_to_chain() happens with a unit parameter value of zero (for example sptests/spintrcritical17). Remove superfluous checks that prevent an adjust to a chain of a watchdog chain which first element has a delta zero value.
* tftpfs: PR1624: Fix parsing of hostnames and pathsDylan Maxwell2012-12-061-8/+11
|
* libblock: Fix purge device tree traversalSebastian Huber2012-08-091-1/+2
|
* libblock: PR2040: Fix recycle destination updateSebastian Huber2012-04-161-8/+7
| | | | | Check the availablity of a recycle destination segment only when it is necessary to avoid missing resycle source segment erasures.
* libblock: PR2040: Add starvation thresholdSebastian Huber2012-04-161-1/+15
| | | | | | Do not use the unavailable block count as the erased blocks starvation threshold. Use instead the block count of the largest segment. This improves the starvation resolution gain of available blocks.
* PR2040: libblock: Flash disk starvations statisticSebastian Huber2012-03-141-2/+10
|
* PR2040: libblock: Flash disk documentationSebastian Huber2012-03-142-105/+127
|
* PR2040: libblock: Fix return statusSebastian Huber2012-03-141-3/+3
|
* PR2040: libblock: Avoid erased blocks starvationSebastian Huber2012-03-141-115/+185
| | | | | | | | | | | | The compaction process needs erased blocks. It is only possible to erase an entire segment. Thus in order to make a progress we always need enough erased blocks to empty a used or available segment which can be erased in turn. A (possibly the worst case) lower bound of erased blocks is the block count of the largest segment. The number of unavailable blocks specified by the configuration will be used to determine the erase blocks starvation situation. The number of unavailable blocks must be greater than or equal to the number of blocks in the largest segment.
* PR2040: libblock: Track number of erased blocksSebastian Huber2012-03-141-1/+8
|
* PR2040: libblock: Use segment control as parameterSebastian Huber2012-03-141-100/+91
|
* PR2039: Fix NULL pointer accessSebastian Huber2012-03-141-2/+2
| | | | | | | In case rtems_bdbuf_read() returns an error status, the block device buffer pointer will be set to NULL. In RFS the chain node of the block device buffer will be used for RFS purposes. We must not do this after an erroneous read.
* PR 2026/filesystem - Fix semaphore attributesSebastian Huber2012-02-231-7/+2
| | | | | Semaphores of type RTEMS_SIMPLE_BINARY_SEMAPHORE are not suitable for a mutex. Use RTEMS_BINARY_SEMAPHORE with RTEMS_INHERIT_PRIORITY instead.
* PR 2001/shell - medit command argument parsing correctionJoel Sherrill2012-02-031-1/+1
| | | | | | | | | | | "medit" overran the argument list, choking on the NULL pointer following the last argument. Note that "medit" still only does byte-sized accesses, which limits its usefulness on most systems. Author: Werner Almesberger <werner@almesberger.net> Signed-off-by: Sebastien Bourdeauducq <sebastien@milkymist.org>
* PR 2012 - mdump/wdump shell cmds handle length arg incorrectly; add ldump cmdJoel Sherrill2012-02-023-39/+168
| | | | | | | | | | | | | * libmisc/shell/main_mdump.c: Reworked to fix bugs in handling of the length argument and to provide an "ldump" command. This file now also supports the "wdump" command. In addition, an RTEMS API function called rtems_mdump() is provided to allow easy dumping from application code. * libmisc/shell/main_mwdump.c: Obsolete file. * libmisc/Makefile.am: Removed main_mwdump.c * libmisc/shell/shellconfig.h: Added "ldump" command. * shell/memory.t: Added documentation for the "ldump" command Signed-off-by: Ric Claus <claus@SLAC.Stanford.edu>
* PR 2012 - mdump/wdump shell cmds handle length arg incorrectly; add ldump cmdJoel Sherrill2012-02-021-95/+0
| | | | | | | | | | | | | * libmisc/shell/main_mdump.c: Reworked to fix bugs in handling of the length argument and to provide an "ldump" command. This file now also supports the "wdump" command. In addition, an RTEMS API function called rtems_mdump() is provided to allow easy dumping from application code. * libmisc/shell/main_mwdump.c: Obsolete file. * libmisc/Makefile.am: Removed main_mwdump.c * libmisc/shell/shellconfig.h: Added "ldump" command. * shell/memory.t: Added documentation for the "ldump" command Signed-off-by: Ric Claus <claus@SLAC.Stanford.edu>
* PR 1998/networking - Move ftpd root initializationJoel Sherrill2012-02-021-9/+7
| | | | | From: Xiangfu <xiangfu@sharism.cc> Signed-off-by: Xiangfu <xiangfu@sharism.cc>
* Add .git ignore. Remove .cvsignoreJoel Sherrill2012-02-0244-110/+0
|
* Upgrade to 4.10.24.10.2Joel Sherrill2011-12-131-1/+1
|
* 2011-12-09 Chris Johns <chrisj@rtems.org>Chris Johns2011-12-094-29/+80
| | | | | | | | | | PR 1968/filesystem * libfs/src/rfs/rtems-rfs-file.c: Fix to the seek bug where a seek to 0 after reading the end of the file did not point to the correct block. * libfs/src/rfs/rtems-rfs-rtems.h, libfs/src/rfs/rtems-rfs-trace.c: Fix the trace flags. Used to fix the bug.
* 2011-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-072-1/+7
| | | | | | PR 1983/networking * libnetworking/libc/gethostbyht.c (gethostent_r): Abort if (!hostf).
* 2011-11-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-11-302-3/+16
| | | | | * librpc/src/rpc/clnt_udp.c (struct cu_data): Introduce unions _cu_inbuf, _cu_outbuf to avoid aliasing.
* 2011-11-28 Werner Almesberger <werner@almesberger.net>Joel Sherrill2011-11-282-15/+9
| | | | | | PR 1961/cpukit * score/src/coremsgsubmit.c: Close window caused by using message pending count rather than directly obtaining unused buffer.
* Move entries to correct file.Joel Sherrill2011-11-092-7/+7
|
* 2011-11-09 Werner Almesberger <werner@almesberger.net>Joel Sherrill2011-11-092-2/+7
| | | | | PR 1954/cpukit * rtems/score/lm32.h: Protect against macro expansion.
* 2011-11-09 Werner Almesberger <werner@almesberger.net>Joel Sherrill2011-11-093-3/+10
| | | | | | | PR 1957/cpukit * score/include/rtems/score/coremutex.h, score/inline/rtems/score/threadmp.inl: Add parentheses to protect macro arguments.
* 2011-11-09 Werner Almesberger <werner@almesberger.net>Joel Sherrill2011-11-092-2/+9
| | | | | PR 1955/cpukit * rtems/score/cpu.h: Convert CPU_swap_u16 into a static inline.
* 2011-11-07 Ralf Corsepius <ralf.corsepius@rtems.org>Joel Sherrill2011-11-072-0/+7
| | | | | | PR 1952/cpukit * libmisc/untar/untar.c: Add return code for failure when unable to write file.
* 2011-11-03 Chris Johns <chrisj@rtems.org>Chris Johns2011-11-036-4/+52
| | | | | | | | | | PR 1948/filesystem * libfs/src/rfs/rtems-rfs-file-system.c, libfs/src/rfs/rtems-rfs-file-system.h, libfs/src/rfs/rtems-rfs-format.c, libfs/src/rfs/rtems-rfs-rtems.c: Add support for mount passing an ASCIIZ string containing configuration options. * libblock/src/bdbuf.c: Fix state labels in trace output.
* 2011-10-09 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-092-36/+5
| | | | | * libmisc/serdbg/serdbg.h (putDebugChar, getDebugChar): Remove duplicate decls.
* 2011-09-01 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-09-016-23/+67
| | | | | | | | PR 1895/cpukit * posix/src/mqueuerecvsupp.c, posix/src/pthreadjoin.c, score/src/coretodmsecstoticks.c, score/src/coretodusectoticks.c, score/src/timespectoticks.c: Ensure time conversions to ticks do not ignore partial tick and return 1 less than desired.
* 2011-07-31 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-07-315-18/+36
| | | | | | | | | | PR 1855/cpukit * posix/src/psignal.c, posix/src/psignalunblockthread.c, posix/src/pthread.c, posix/src/pthreadjoin.c: Correct signal processing during pthread_join. We are supposed to unblock the thread waiting on a pthread_join(), dispatch the signal handler, account for it potentially overwriting errno, and then have the thread return to blocking within pthread_join().
* 2011-07-31 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-07-313-8/+53
| | | | | | | | PR 1867/cpukit * posix/src/pthreadexit.c, posix/src/pthreadjoin.c: Correct implementation of pthread_exit() and pthread_join() to support the case where a thread is joinable but calls pthread_exit() before a thread has attempted to join.
* 2011-07-31 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-07-3111-22/+37
| | | | | | | | | | | PR 1839/filesystem * libcsupport/include/rtems/libio_.h, libcsupport/src/fchdir.c, libcsupport/src/fdatasync.c, libcsupport/src/fpathconf.c, libcsupport/src/fsync.c, libcsupport/src/ftruncate.c, libcsupport/src/read.c, libcsupport/src/readv.c, libcsupport/src/write.c, libcsupport/src/writev.c: Some calls did not return proper status for permission errors or incorrectly permissions at all.
* Upgrade to 4.10.14.10.1Joel Sherrill2011-07-211-1/+1
|
* 2011-07-19 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-07-192-4/+7
| | | | | | PR 1838/filesystem * libcsupport/src/fchmod.c: fchmod() does not need a writeable file descriptor.
* 2011-07-15 Till Straumann <strauman@slac.stanford.edu>Till Straumann2011-07-151-1/+1
| | | | * nfs.c: removed stray Ctrl-M char.
* 2011-07-14 Gene Smith <gene.smith@siemens.com>Joel Sherrill2011-07-141-4/+6
| | | | | | | | | PR 1381/networking * netinet/ip_output.c: If a null or unreachable gateway is specified either statically in networkconfig.h or from dhcp/bootp, sendto() fails on multicast send with errno "118 Host is unreachable". The failure occurs in networking file ip_output.c since it currently requires all multicasts to have a valid route to the outside world.
* 2011-07-14 Gene Smith <gene.smith@siemens.com>Joel Sherrill2011-07-142-0/+16
| | | | | | | PR 1381/networking * libnetworking/netinet/ip_output.c: If a null or unreachable gateway is specified either statically in networkconfig.h or from dhcp/bootp, sendto() fails on multicast send with errno 118 Host
* 2011-07-13 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2011-07-132-1/+8
| | | | | | | PR 1775/filesystem * libfs/src/nfsclient/src/nfs.c: NFSAddress NFS issue where read/write problems when requested bytes greater than nfsStBlksize. Failure to create files and symlinks.
* 2009-11-09 Till Straumann <strauman@slac.stanford.edu>Till Straumann2011-07-131-0/+5
| | | | * ChangeLog: had forgotten to commit ChangeLog
* 2011-07-04 Chris Johns <chrisj@rtems.org>Chris Johns2011-07-042-1/+7
| | | | | | PR 1827/filesystem * libfs/src/rfs/rtems-rfs-rtems.c: Skip the parent (..) path value when eval make moving up out of the RFS file system.
* 2011-06-10 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-06-102-0/+8
| | | | | | PR 1812/filesystem * libfs/src/imfs/imfs_stat.c: stat() implementation for IMFS did not set st_blksize field. Set it based upon user configuration.