summaryrefslogtreecommitdiffstats
path: root/cpukit (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-04-112008-04-12 Chris Johns <chrisj@rtems.org>Chris Johns9-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-092008-04-09 Madhusudan.C.S <madhusudancs@gmail.com>Joel Sherrill2-2/+6
* score/include/rtems/score/tod.h: Fix typo.
2008-04-082008-04-08 Chris Johns <chrisj@rtems.org>Chris Johns2-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-032008-04-03 Chris Johns <chrisj@rtems.org>Chris Johns7-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-292008-03-29 Chris Johns <chrisj@rtems.org>Chris Johns2-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-252008-03-25 Till Straumann <strauman@slac.stanford.edu>Till Straumann2-1/+8
* shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.3 and coldfire.
2008-03-122008-03-12 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-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-112008-03-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill3-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-112008-03-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill9-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-072008-03-07 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill5-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-072008-03-07 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2-4/+9
* posix/Makefile.am: Make clock_settime() available always just like clock_gettime().
2008-03-052008-03-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-2/+6
* score/include/rtems/score/copyrt.h: Update year.
2008-03-052008-03-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-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-052008-03-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill20-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-282008-02-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill10-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-282008-02-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-2/+7
* libmisc/Makefile.am: Turn on NFS mount support when networking is enabled.
2008-02-282008-02-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-4/+9
* libcsupport/src/chroot.c: Formatting.
2008-02-272008-02-27 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill34-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-262008-02-26 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill27-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-262008-02-26 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill3-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-262008-02-26 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill3-6/+8
* rtems/src/regionmp.c, score/src/objectnametoidstring.c: Fix some warnings.
2008-02-26Update copyright date.Joel Sherrill1-1/+1
2008-02-202008-02-20 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill4-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-202008-02-20 Alexandru Bugnar <a-bugnar@criticalsoftware.com>Joel Sherrill2-1/+7
PR 1278/cpukit * cpu.c: Fix incorrect bit manipulation on returning old address of raw trap handler.
2008-02-202008-02-20 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-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.
2008-02-20Regenerate.Ralf Corsepius1-9/+0
2008-02-20Remove ref to rtems/old-exceptions/cpu.h.Ralf Corsepius2-7/+0
2008-02-20Remove (Abandoned).Ralf Corsepius1-450/+0
2008-02-192008-02-19 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill7-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-182008-02-16 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-0/+5
* posix/preinstall.am, libcsupport/preinstall.am: Revert Joel's 2008-01-31 screw up.
2008-02-18Revert Joel's 2008-01-31 screw up.Ralf Corsepius2-2/+30
2008-02-18Import from zlib-1.2.4Ralf Corsepius1-0/+569
2008-02-17Import from zlib-1.2.4Ralf Corsepius1-41/+50
2008-02-152008-02-15 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-0/+1
* posix/include/rtems/posix/timer.h: Add c++ guards.
2008-02-15Add c++ guards.Ralf Corsepius1-0/+8
2008-02-152008-02-15 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-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>.
2008-02-15include <limits.h>Ralf Corsepius5-0/+8
2008-02-152008-02-15 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-34/+39
* libcsupport/include/motorola/mc68230.h: Prefix defines with MC68230_ to avoid preprocessor clashes.
2008-02-062008-02-06 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill7-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-062008-02-06 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill3-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-062008-02-06 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2-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-052008-02-05 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill6-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-042008-02-04 Jennifer Averett <jennifer.averett@OARcorp.com>Jennifer Averett4-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-042008-02-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill5-7/+23
* rtems/src/rtemsobjectsetname.c, score/src/objectgetinfoid.c, score/src/objectgetnameasstring.c, score/src/objectidtoname.c: Handle Object Id of SELF.
2008-02-012008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill4-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-312008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2-9/+12
* posix/src/pthreadinitthreads.c: Clean up error paths.
2008-01-312008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill3-30/+7
* libcsupport/preinstall.am, posix/preinstall.am: Revert temporary changes which aid in coverage testing.
2008-01-312008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill16-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.
2008-01-312008-01-31 Jennifer Averett <jennifer.averett@OARcorp.com>Jennifer Averett2-1/+5
* posix/src/timersettime.c: Fix to remove warning.
2008-01-312008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2-2/+4
* libcsupport/src/posix_memalign.c: Remove warning.