| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
Semaphores of type RTEMS_SIMPLE_BINARY_SEMAPHORE are not suitable for a
mutex. Use RTEMS_BINARY_SEMAPHORE with RTEMS_INHERIT_PRIORITY instead.
|
|
|
|
|
|
|
|
|
|
|
| |
"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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
| |
From: Xiangfu <xiangfu@sharism.cc>
Signed-off-by: Xiangfu <xiangfu@sharism.cc>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
PR 1983/networking
* libnetworking/libc/gethostbyht.c (gethostent_r):
Abort if (!hostf).
|
|
|
|
|
| |
* librpc/src/rpc/clnt_udp.c (struct cu_data):
Introduce unions _cu_inbuf, _cu_outbuf to avoid aliasing.
|
|
|
|
|
|
| |
PR 1961/cpukit
* score/src/coremsgsubmit.c: Close window caused by using message
pending count rather than directly obtaining unused buffer.
|
| |
|
|
|
|
|
| |
PR 1954/cpukit
* rtems/score/lm32.h: Protect against macro expansion.
|
|
|
|
|
|
|
| |
PR 1957/cpukit
* score/include/rtems/score/coremutex.h,
score/inline/rtems/score/threadmp.inl: Add parentheses to protect
macro arguments.
|
|
|
|
|
| |
PR 1955/cpukit
* rtems/score/cpu.h: Convert CPU_swap_u16 into a static inline.
|
|
|
|
|
|
| |
PR 1952/cpukit
* libmisc/untar/untar.c: Add return code for failure when unable to
write file.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
* libmisc/serdbg/serdbg.h (putDebugChar, getDebugChar):
Remove duplicate decls.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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().
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
PR 1838/filesystem
* libcsupport/src/fchmod.c: fchmod() does not need a writeable file
descriptor.
|
|
|
|
| |
* nfs.c: removed stray Ctrl-M char.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
* ChangeLog: had forgotten to commit ChangeLog
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
PR 1776/networking
* libnetworking/rtems/rtems_glue.c: Higher resolution microtime()
for SO_TIMESTAMP.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* include/rtems/bspIo.h, include/rtems/concat.h,
include/rtems/irq.h, libblock/include/rtems/bdbuf.h
libcsupport/include/rtems/libio_.h, libcsupport/src/getuid.c,
score/include/rtems/score/coremutex.h,
score/include/rtems/score/heap.h,
score/include/rtems/score/sysstate.h, score/src/objectidtoname.c,
score/src/objectnametoid.c, score/src/objectnametoidstring.c,
score/src/thread.c, score/src/threadchangepriority.c,
score/src/threadclearstate.c, score/src/threadclose.c,
score/src/threadcreateidle.c, score/src/threaddelayended.c,
score/src/threaddispatch.c, score/src/threadget.c,
score/src/threadhandler.c, score/src/threadinitialize.c,
score/src/threadloadenv.c, score/src/threadready.c,
score/src/threadreset.c, score/src/threadrestart.c
score/src/threadsetpriority.c, score/src/threadsetstate.c,
score/src/threadsettransient.c, score/src/threadstackallocate.c
score/src/threadstackfree.c, score/src/threadstart.c:
Cosmetics from CVS-HEAD.
|
| |
|
|
|
|
|
| |
* libblock/src/flashdisk.c, libblock/src/nvdisk.c:
Add va_end() (Backport from HEAD).
|
|
|
|
|
|
|
|
|
| |
* posix/Makefile.am: Add posixtime.h.
* posix/src/clockgetres.c, posix/src/clockgettime.c,
posix/src/clocksettime.c:
Use CLOCK_PROCESS_CPUTIME_ID, CLOCK_THREAD_CPUTIME_ID.
Include posix/src/posixtime.h.
* posix/src/posixtime.h: New.
|
|
|
|
|
|
| |
PR 1774/filesystem
* libfs/src/imfs/imfs_eval.c: The previous change broke some of
the tests. This has been fixed.
|
|
|
|
|
| |
PR 1790/cpukit
* libblock/src/flashdisk.c: Fixed memset() parameters.
|
| |
|
|
|
|
|
|
|
|
| |
PR 1781/bsps
* bfin/rtems/bf52x.h: This file defines basic MMR for the Blackfin
52x CPU. The MMR have been taken from the ADSP-BF52x Blackfin
Processor Hardware Reference from Analog Devices. Mentioned
Chapters refer to this Documentation.
|
|
|
|
|
|
| |
PR 1774/filesystem
* libfs/src/imfs/imfs_eval.c: Fix the IMFS eval and eval for make
handlers to not inspect a mounted file sytems path.
|
|
|
|
|
|
| |
PR 1722/networking
* ftpd/ftpd.c: FTPD fails to parse correctly FTP commands relating to
filenames with spaces in them.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
'rtems-4-10-branch'.
Cherrypick from master 2011-03-18 10:11:40 UTC Ralf Corsepius <ralf.corsepius@rtems.org> '2010-04-09 Ralf Corsépius <ralf.corsepius@rtems.org>':
cpukit/zlib/ChangeLog
cpukit/zlib/ChangeLog.zlib
cpukit/zlib/FAQ
cpukit/zlib/Makefile.am
cpukit/zlib/README
cpukit/zlib/adler32.c
cpukit/zlib/compress.c
cpukit/zlib/crc32.c
cpukit/zlib/deflate.c
cpukit/zlib/deflate.h
cpukit/zlib/doc/algorithm.txt
cpukit/zlib/gzclose.c
cpukit/zlib/gzguts.h
cpukit/zlib/gzlib.c
cpukit/zlib/gzread.c
cpukit/zlib/gzwrite.c
cpukit/zlib/infback.c
cpukit/zlib/inffast.c
cpukit/zlib/inflate.c
cpukit/zlib/inflate.h
cpukit/zlib/inftrees.c
cpukit/zlib/inftrees.h
cpukit/zlib/trees.c
cpukit/zlib/uncompr.c
cpukit/zlib/zconf.h
cpukit/zlib/zlib.3
cpukit/zlib/zlib.h
cpukit/zlib/zutil.c
cpukit/zlib/zutil.h
testsuites/libtests/mathf/.cvsignore
testsuites/libtests/mathf/Makefile.am
testsuites/libtests/mathf/mathf.scn
Cherrypick from master 2011-02-02 13:58:02 UTC Ralf Corsepius <ralf.corsepius@rtems.org> 'New (Split out from math/).':
testsuites/libtests/mathf/domathf.c
testsuites/libtests/mathf/init.c
|
|
|
|
|
|
| |
PR 1757/filesystem
* libfs/src/rfs/rtems-rfs-block-pos.h: Fix the bug in equal
compare.
|
|
|
|
|
| |
PR 1763/shell
* libmisc/shell/hexdump-conv.c: Remove debug hacks.
|
|
|
|
|
|
|
|
|
| |
PR 1757/filesystem
* libfs/src/rfs/rtems-rfs-block-pos.h,
libfs/src/rfs/rtems-rfs-block.h, libfs/src/rfs/rtems-rfs-file.c,
libfs/src/rfs/rtems-rfs-rtems-file.c: Set the file size in
iop-size when a file is open. Fix lseek to end of file then write
for sizes less than half the file system block size.
|
|
|
|
|
|
|
|
|
| |
PR 1759/cpukit
* posix/src/cancel.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: Some POSIX pthread services did not
support using Classic API Task Ids.
|
| |
|
|
|
|
|
|
| |
* libcsupport/src/mknod.c, libfs/src/rfs/rtems-rfs-inode.c: PR
1749. Fix the incorrect handling of the file type in the mode
value to reject invalid types as per the standard.
|
| |
|