summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2008-04-12 Chris Johns <chrisj@rtems.org>Chris Johns2008-04-119-538/+755
| | | | | | | | | | | | * libmisc/shell/shell.c, libmisc/shell/shell.h, libmisc/shell/shell_script.c: Add support to echo the commands to stdout. This is useful with the -v script option to show commands as the run. Also added support to chdir to the directory the task invoking the script is in. * libmisc/shell/extern-cp.h, libmisc/shell/main_cp.c, libmisc/shell/utils-cp.c: Update tro the latest FreeBSD version. * libcsupport/Makefile.am, libcsupport/src/fchown.c: Add fchown support.
* 2008-04-09 Madhusudan.C.S <madhusudancs@gmail.com>Joel Sherrill2008-04-092-2/+6
| | | | * score/include/rtems/score/tod.h: Fix typo.
* 2008-04-08 Chris Johns <chrisj@rtems.org>Chris Johns2008-04-082-4/+22
| | | | | | * libmisc/shell/shell.c: Copy the cmd line to a buffer to split into argv parts. Was using the command line history buffer so the history was being corrupted.
* 2008-04-03 Chris Johns <chrisj@rtems.org>Chris Johns2008-04-037-124/+648
| | | | | | | | | | | | * libfs/src/nfsclient/src/librtemsNfs.h, libfs/src/nfsclient/src/nfs.c: Remove CEXP references. CEXP is external to RTEMS and even if in the cpukit it should not cross reference in this way. * libmisc/shell/shell_getchar.c: New. Taken from the monitor. * libmisc/Makefile.am: Add shell_getchar.c and clean up a little in the shell area. * libmisc/shell/shell.c, libmisc/shell/shell.h: Add line editting support.
* 2008-03-29 Chris Johns <chrisj@rtems.org>Chris Johns2008-03-292-0/+7
| | | | | | * librpc/include/rpc/clnt.h: Added the missing __BEGIN_DECLS as reported to the mailing list by Pierre Kestener (pierre.kestener@cea.fr).
* 2008-03-25 Till Straumann <strauman@slac.stanford.edu>Till Straumann2008-03-252-1/+8
| | | | | * shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.3 and coldfire.
* 2008-03-12 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-03-122-3/+26
| | | | | | * libmisc/shell/cmds.c: Directly register the command structure to avoid unnecessary duplication of static strings. We know best this time.
* 2008-03-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-03-113-6/+11
| | | | | | | | * sapi/include/confdefs.h: Do not reserve 2 * minimum stack size for the ITRON initialization tasks ALL the time. Do not reserve memory for the object name table since it does not exist any longer. * sapi/include/rtems/sptables.h: Fix typo.
* 2008-03-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-03-119-94/+363
| | | | | | | | | | | | | | | | * rtems/Makefile.am, rtems/include/rtems/rtems/clock.h, rtems/src/clockget.c: * rtems/src/clockgetsecondssinceepoch.c, rtems/src/clockgettickspersecond.c, rtems/src/clockgettickssinceboot.c, rtems/src/clockgettod.c, rtems/src/clockgettodtimeval.c: New files. Refactored rtems_clock_get into 5 methods which are single purpose and more strongly typed. They are: rtems_clock_get_tod - Get TOD in Classic API structure rtems_clock_get_tod_timeval - Get TOD in struct timeval rtems_clock_get_seconds_since_epoch - Get TOD as seconds since 1988 rtems_clock_get_ticks_since_boot - Get ticks since boot rtems_clock_get_ticks_per_second - Get ticks per second
* 2008-03-07 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-03-075-11/+35
| | | | | | | | * libmisc/shell/main_cp.c, libmisc/shell/main_netstats.c, libmisc/shell/shell_script.c: Add memset() of getopt_data to ensure it is zeroed out each time we use getopt_r(). * libmisc/shell/shell.c: Do not echo commands if input is not a tty. This makes the scripts behave more like UNIX scripts.
* 2008-03-07 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-03-072-4/+9
| | | | | * posix/Makefile.am: Make clock_settime() available always just like clock_gettime().
* 2008-03-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-03-052-2/+6
| | | | * score/include/rtems/score/copyrt.h: Update year.
* 2008-03-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-03-052-0/+14
| | | | | * libcsupport/src/gxx_wrappers.c: Add rtems_gxx_mutex_destroy as needed by gcc newer than the 4.3 release series.
* 2008-03-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-03-0520-48/+683
| | | | | | | | | | | | | | | * libmisc/Makefile.am, libmisc/shell/main_cp.c, libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c, libmisc/shell/main_mallocinfo.c, libmisc/shell/main_netstats.c, libmisc/shell/main_perioduse.c, libmisc/shell/main_stackuse.c, libmisc/shell/main_wkspaceinfo.c, libmisc/shell/print_heapinfo.c, libmisc/shell/shell.c, libmisc/shell/shell.h, libmisc/shell/shell_makeargs.c, libmisc/shell/shellconfig.c, libmisc/shell/shellconfig.h, libmisc/shell/write_file.c: Add initial capability to automatically execute a script from the filesystem. Add echo command from NetBSD and sleep command. * libmisc/shell/main_echo.c, libmisc/shell/main_sleep.c, libmisc/shell/shell_script.c: New files.
* 2008-02-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-02-2810-58/+133
| | | | | | | | | | | | | | * itron/include/rtems/itron/task.h, itron/src/cre_tsk.c, posix/src/pthreadcreate.c, rtems/src/taskcreate.c, rtems/src/taskdelete.c, rtems/src/timerserver.c, score/src/threadclose.c, score/src/threadcreateidle.c, score/src/threadinitialize.c: Switch task create and delete operations to using API Allocator Mutex. This moves almost all uses of the RTEMS Workspace from dispatching disabled to mutex protected which should improve deterministic behavior. The implementation was carefully done to allow task create and delete extensions to invoke more services. In particular, a task delete extension should be able to do mutex and file operations.
* 2008-02-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-02-282-2/+7
| | | | | * libmisc/Makefile.am: Turn on NFS mount support when networking is enabled.
* 2008-02-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-02-282-4/+9
| | | | * libcsupport/src/chroot.c: Formatting.
* 2008-02-27 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-02-2734-284/+411
| | | | | | | | | | | | | | | | | | | | | | | * libmisc/shell/cat_file.c, libmisc/shell/main_alias.c, libmisc/shell/main_blksync.c, libmisc/shell/main_cat.c, libmisc/shell/main_chdir.c, libmisc/shell/main_chmod.c, libmisc/shell/main_chroot.c, libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c, libmisc/shell/main_help.c, libmisc/shell/main_id.c, libmisc/shell/main_logoff.c, libmisc/shell/main_ls.c, libmisc/shell/main_mallocinfo.c, libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c, libmisc/shell/main_mkdir.c, libmisc/shell/main_mmove.c, libmisc/shell/main_mount.c, libmisc/shell/main_mount_nfs.c, libmisc/shell/main_msdosfmt.c, libmisc/shell/main_mwdump.c, libmisc/shell/main_perioduse.c, libmisc/shell/main_pwd.c, libmisc/shell/main_rm.c, libmisc/shell/main_rmdir.c, libmisc/shell/main_stackuse.c, libmisc/shell/main_tty.c, libmisc/shell/main_umask.c, libmisc/shell/main_unmount.c, libmisc/shell/main_whoami.c, libmisc/shell/shell.h: Clean up done while writing documentation. Some command improvements such as date now allows setting of the current TOD. Often commands did not use stdout/stderr per expectations and did not return -1 on an error.
* 2008-02-26 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-02-2627-0/+12099
| | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac, libfs/Makefile.am: Add nfsclient to cpukit. Although the use of RPC/XDR could be an issue, the code does build multilib across all targets. There are a few remaining warnings to deal with. * libfs/src/nfsclient/.cvsignore, libfs/src/nfsclient/ChangeLog.slac, libfs/src/nfsclient/LICENSE, libfs/src/nfsclient/Makefile.am, libfs/src/nfsclient/README, libfs/src/nfsclient/preinstall.am, libfs/src/nfsclient/rfc1094.txt, libfs/src/nfsclient/proto/mount_prot.h, libfs/src/nfsclient/proto/mount_prot.x, libfs/src/nfsclient/proto/mount_prot_xdr.c, libfs/src/nfsclient/proto/nfs_prot.h, libfs/src/nfsclient/proto/nfs_prot.x, libfs/src/nfsclient/proto/nfs_prot_xdr.c, libfs/src/nfsclient/src/cexphelp.c, libfs/src/nfsclient/src/dirutils.c, libfs/src/nfsclient/src/librtemsNfs.h, libfs/src/nfsclient/src/nfs.c, libfs/src/nfsclient/src/nfs.modini.c, libfs/src/nfsclient/src/nfsTest.c, libfs/src/nfsclient/src/rpcio.c, libfs/src/nfsclient/src/rpcio.h, libfs/src/nfsclient/src/rpcio.modini.c, libfs/src/nfsclient/src/sock_mbuf.c, libfs/src/nfsclient/src/xdr_mbuf.c: New files.
* 2008-02-26 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-02-263-11/+23
| | | | | | * sapi/include/rtems/config.h, sapi/include/rtems/sptables.h: Add missing field to default multiprocessing configuration table. Also document fields in Doxygen format.
* 2008-02-26 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-02-263-6/+8
| | | | | * rtems/src/regionmp.c, score/src/objectnametoidstring.c: Fix some warnings.
* Update copyright date.Joel Sherrill2008-02-261-1/+1
|
* 2008-02-20 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-02-204-1/+112
| | | | | | * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add netstats command to access statistics reporting functions in TCP/IP stack. * libmisc/shell/main_netstats.c: New file.
* 2008-02-20 Alexandru Bugnar <a-bugnar@criticalsoftware.com>Joel Sherrill2008-02-202-1/+7
| | | | | | PR 1278/cpukit * cpu.c: Fix incorrect bit manipulation on returning old address of raw trap handler.
* 2008-02-20 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-02-201-0/+6
| | | | | | * rtems/old-exceptions/cpu.h: Remove (Abandoned). * rtems/score/cpu.h: Remove ref to rtems/old-exceptions/cpu.h. * Makefile.am: Remove ref to rtems/old-exceptions/cpu.h.
* Regenerate.Ralf Corsepius2008-02-201-9/+0
|
* Remove ref to rtems/old-exceptions/cpu.h.Ralf Corsepius2008-02-202-7/+0
|
* Remove (Abandoned).Ralf Corsepius2008-02-201-450/+0
|
* 2008-02-19 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-02-197-6/+434
| | | | | | | | | * libmisc/Makefile.am, libmisc/shell/main_wkspaceinfo.c, libmisc/shell/shell.c, libmisc/shell/shellconfig.h: Add route and ifconfig commands. The code for these was previously in the networking guide. Disable NFS filesystem mount until that code is in cpukit. * libmisc/shell/main_ifconfig.c, libmisc/shell/main_route.c: New files.
* 2008-02-16 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-02-181-0/+5
| | | | | * posix/preinstall.am, libcsupport/preinstall.am: Revert Joel's 2008-01-31 screw up.
* Revert Joel's 2008-01-31 screw up.Ralf Corsepius2008-02-182-2/+30
|
* This commit was generated by cvs2svn to compensate for changes in r16912,Ralf Corsepius2008-02-181-0/+569
|\ | | | | which included commits to RCS files with non-trunk default branches.
| * Import from zlib-1.2.4Ralf Corsepius2008-02-181-0/+569
| |
| * Import from zlib-1.2.4Ralf Corsepius2008-02-171-41/+50
| |
| * Import from zlib-1.2.4Ralf Corsepius2008-01-111-2/+2
| |
* | 2008-02-15 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-02-151-0/+1
| | | | | | | | * posix/include/rtems/posix/timer.h: Add c++ guards.
* | Add c++ guards.Ralf Corsepius2008-02-151-0/+8
| |
* | 2008-02-15 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-02-151-1/+3
| | | | | | | | | | * posix/src/cond.c, posix/src/mutex.c, posix/src/pbarrier.c, posix/src/prwlock.c, posix/src/pspin.c: Include <limits.h>.
* | include <limits.h>Ralf Corsepius2008-02-155-0/+8
| |
* | 2008-02-15 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-02-152-34/+39
| | | | | | | | | | * libcsupport/include/motorola/mc68230.h: Prefix defines with MC68230_ to avoid preprocessor clashes.
* | 2008-02-06 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-02-067-74/+122
| | | | | | | | | | | | | | | | | | | | | | * posix/src/mqueueunlink.c, score/Makefile.am, score/include/rtems/score/object.h, score/inline/rtems/score/object.inl: Enhance _Objects_Namespace_remove() to handle freeing object names which are strings. All changed _Objects_Close() to call _Objects_Namespace_remove(). The resulting code was then moved from inline routines to function calls. * score/src/objectclose.c, score/src/objectnamespaceremove.c: New files.
* | 2008-02-06 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-02-063-8/+44
| | | | | | | | | | | | * libcsupport/src/printk.c: Added width and padding for %s. * libmisc/cpuuse/cpuusagereport.c: Support object names that are strings longer than 4 chanracters.
* | 2008-02-06 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-02-062-1/+8
| | | | | | | | | | | | | | PR 1277/networking * libnetworking/netinet/in_cksum_i386.h: Use q instead of r in constraint for assembly language. This restricts the register choice to the a-d registers.
* | 2008-02-05 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-02-056-0/+93
| | | | | | | | | | | | | | | | | | | | | | * libnetworking/kern/uipc_socket2.c, libnetworking/netinet/tcp_usrreq.c, libnetworking/netinet/udp_usrreq.c, libnetworking/rtems/rtems_bsdnet.h, libnetworking/rtems/rtems_glue.c: Add configuration parameters for network stack efficiency multiplier and default socket buffer sizes. Change default multiplier from 8 to 2 to match GNU/Linux. This has no impact on performance on the BSPs tested.
* | 2008-02-04 Jennifer Averett <jennifer.averett@OARcorp.com>Jennifer Averett2008-02-044-3/+124
| | | | | | | | | | | | * rtems/Makefile.am, rtems/include/rtems/rtems/support.h: Added workspace manipulation routines for testing. * rtems/src/workspace.c: New file.
* | 2008-02-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-02-045-7/+23
| | | | | | | | | | | | * rtems/src/rtemsobjectsetname.c, score/src/objectgetinfoid.c, score/src/objectgetnameasstring.c, score/src/objectidtoname.c: Handle Object Id of SELF.
* | 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-02-014-40/+32
| | | | | | | | | | | | * posix/src/clockgettime.c, posix/src/clocksettime.c, Minor modifications to improve testability. * posix/src/pthreadcreate.c: Add NULL check for thread entry.
* | 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-01-312-9/+12
| | | | | | | | * posix/src/pthreadinitthreads.c: Clean up error paths.
* | 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-01-313-30/+7
| | | | | | | | | | * libcsupport/preinstall.am, posix/preinstall.am: Revert temporary changes which aid in coverage testing.
* | 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-01-3116-73/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * posix/src/cond.c, posix/src/key.c, posix/src/mqueuenametoid.c, posix/src/mutex.c, posix/src/pbarrier.c, posix/src/prwlock.c, posix/src/pspin.c, posix/src/pthread.c, posix/src/ptimer.c, posix/src/semaphorenametoid.c: Add option for all POSIX objects whether named or unnamed to have a string name. If the API does not directly support having a name, then the user must explicitly assign it using rtems_object_set_name(). * rtems/src/rtemsobjectgetapiclassname.c: Improved testability. * score/include/rtems/score/object.h, score/src/objectgetnameasstring.c, score/src/objectnametoidstring.c, score/src/objectsetname.c: Modifications required to pass testing of recently modified object name operations. Also eliminated multiprocessing related code that was not reachable.