summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/Makefile.am (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix build for non-SPARC targetsSebastian Huber2015-04-171-2/+9
|
* DRVMGR: added drvmgr shell commandDaniel Hellstrom2015-04-171-1/+1
|
* LIBPCI: added PCI shell commandDaniel Hellstrom2015-04-171-1/+2
|
* libmisc/shell: Add the rtrace command for buffered tracing support.Chris Johns2015-03-311-2/+3
| | | | | The rtrace command interfaces to the RTEMS Trace Linker's trace buffering data allowing users to capture and report trace data.
* shell: Add PROFREPORT commandSebastian Huber2015-03-061-0/+1
|
* tests: Refactor parallel test executionAlexander Krutwig2015-03-051-0/+1
|
* Move test support from sapi to libmisc/testsupportSebastian Huber2015-03-051-0/+6
|
* libmisc: More useful default configurationSebastian Huber2014-12-051-4/+1
| | | | | | | | | | | The dummy.c was a de-facto default configuration. Rename it to default-configuration.c. Use unlimited objects and the stack checker. This makes it easier for new RTEMS users which will likely use this file if they just work with the usual main() function as the application entry point. Provide proper arguments for main() using the BSP command line. Add spare user extensions and drivers. Do not initialize the network by default. Delete bspinit.c.
* capture: Move print methods out of cli for reuse.Jennifer Averett2014-11-241-0/+1
| | | | | | | Methods to print the data were moved from capture-cli into a support area and are no longer static so that they can be shared by test routines, or application code that wants to use the capture engine without the shell interface.
* shell: Add CMDLS, CMDCHOWN, CMDCHMOD commandsSebastian Huber2014-11-201-0/+3
|
* libmisc: Add top to shell.Jennifer Averett2014-10-271-1/+1
|
* libmisc: Add top to cpuusage.Jennifer Averett2014-10-271-1/+1
|
* shell: Add an editor to the shell.Chris Johns2014-10-241-1/+1
| | | | | | This is a small (21K on sparc) editor that provides some powerful features useful when a file needs editing on an embedded board. No need to copy files off, edit, copy back.
* Libmisc/Makefile.am: Build with networking disabledJoel Sherrill2014-09-161-2/+3
|
* shell: Add an md5 hash command for files.Chris Johns2014-09-161-3/+3
| | | | This command lets you get an MD5 hash for a file in an RTEMS file system.
* libmisc: Add a stdio redirector helper.Chris Johns2014-09-161-0/+4
| | | | | | | | This module makes it easy to redirect and capture stdout, stderr or any other fd in your application. The captured data can be sent off board, for example using syslog, or buffered and displayed in a web page.
* shell: Add a ping command.Chris Johns2014-09-161-1/+1
| | | | | | | | | The ping code is taken from a recent FreeBSD release. Some options have been tested, other not tested or do not work. This could be due to the age of our TCP/IP stack. This version of ping will not work if more than 64 file descriptors are open at once because the select FD size is 64 as set in newlib.
* capture: Add support for variable length records.Jennifer Averett2014-09-051-2/+3
|
* capture: Split user extension methods out.Jennifer Averett2014-09-051-1/+2
|
* libmisc: Provide libutf8proc conditionallySebastian Huber2013-07-261-0/+2
|
* libmisc: Add utf8proc-v1.1.5Ralf Kirchner2013-06-031-0/+4
| | | | | | | utf8proc is a small library for processing UTF-8 encoded Unicode strings. Some features are Unicode normalization, stripping of default ignorable characters, case folding and detection of grapheme cluster boundaries. For the time beeing utf8proc is intended to be used for normalizing and folding UTF-8 strings for comparison purposes when adding UTF-8 support to the FAT file system.
* shell: Add df commandAndrei Mozzhuhin2013-05-161-1/+1
|
* libblock: Add block device statisticsSebastian Huber2012-06-121-0/+1
|
* Filesystem: Reference counting for locationsSebastian Huber2012-03-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o A new data structure rtems_filesystem_global_location_t was introduced to be used for o the mount point location in the mount table entry, o the file system root location in the mount table entry, o the root directory location in the user environment, and o the current directory location in the user environment. During the path evaluation global start locations are obtained to ensure that the current file system instance will be not unmounted in the meantime. o The user environment uses now reference counting and is protected from concurrent access. o The path evaluation process was completely rewritten and simplified. The IMFS, RFS, NFS, and DOSFS use now a generic path evaluation method. Recursive calls in the path evaluation have been replaced with iteration to avoid stack overflows. Only the evaluation of symbolic links is recursive. No dynamic memory allocations and intermediate buffers are used in the high level path evaluation. No global locks are held during the file system instance specific path evaluation process. o Recursive symbolic link evaluation is now limited by RTEMS_FILESYSTEM_SYMLOOP_MAX. Applications can retrieve this value via sysconf(). o The device file system (devFS) uses now no global variables and allocation from the workspace. Node names are allocated from the heap. o The upper layer lseek() performs now some parameter checks. o The upper layer ftruncate() performs now some parameter checks. o unmask() is now restricted to the RWX flags and protected from concurrent access. o The fchmod_h and rmnod_h file system node handlers are now a file system operation. o The unlink_h operation has been removed. All nodes are now destroyed with the rmnod_h operation. o New lock_h, unlock_h, clonenod_h, and are_nodes_equal_h file system operations. o The path evaluation and file system operations are now protected by per file system instance lock and unlock operations. o Fix and test file descriptor duplicate in fcntl(). o New test fstests/fsnofs01.
* PR 2012 - mdump/wdump shell cmds handle length arg incorrectly; add ldump cmdJoel Sherrill2012-02-021-2/+1
| | | | | | | | | | | | | * 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>
* 2011-09-16 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-09-161-1/+2
| | | | | | * libmisc/shell/shell-wait-for-input.c: New file. * libmisc/Makefile.am: Reflect change above. * libmisc/shell/shell.h: Declare rtems_shell_wait_for_input().
* 2011-05-13 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-05-131-1/+2
| | | | | | * libmisc/devnull/devzero.c, libmisc/devnull/devzero.h: New files. * libmisc/Makefile.am, Makefile.am, preinstall.am: Reflect changes above.
* 2011-03-14 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-03-141-0/+5
| | | | | | | | | | | PR 1762/cpukit * Makefile.am, preinstall.am, libmisc/Makefile.am, wrapup/Makefile.am: Add generic serial mouse driver and mouse parser. The parser code was in the pc386 BSP but was generic so cleaned up and placed here. Serial mouse driver itself is new. * libmisc/mouse/README, libmisc/mouse/mouse_parser.c, libmisc/mouse/mouse_parser.h, libmisc/mouse/serial_mouse.c, libmisc/mouse/serial_mouse.h: New files.
* 2011-02-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-02-171-1/+1
| | | | | | * libmisc/Makefile.am, libmisc/fb/mw_uid.c, libmisc/fb/mw_uid.h: Clean up. Add Doxygen style comments. Add method to print uid structure. * libmisc/fb/mw_print.c: New file.
* 2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-011-0/+1
| | | | | * libmisc/Makefile.am: Add stringto/stringtolongdouble.c. * libmisc/stringto/stringtolongdouble.c: New.
* 2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-011-1/+1
| | | | | * libmisc/Makefile.am: Remove stringto/stringto_template.h. * libmisc/stringto/stringto_template.h: Remove.
* 2010-05-31 Chris Johns <chrisj@rtems.org>Chris Johns2010-05-311-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libcsupport/Makefile.am: Add mount-mgr.c. * libcsupport/src/mount-mgr.c: New. * include/rtems/fs.h: Added rtems_filesystem_location_mount. * libcsupport/include/rtems/libio.h, libcsupport/src/mount.c: New mount interface. It is similar to Linux. * libcsupport/include/rtems/libio_.h: Remove the init_fs_mount_table call. * libcsupport/src/base_fs.c: Remove init_fs_mount_table_call. Use the new mount call. Remove setting the root node in the global pathloc. Mount does this now. * libcsupport/src/privateenv.c: Remove the hack to set the root mount table entry in the environment. * libcsupport/src/unmount.cL Free the target string. * libblock/src/bdpart-mount.c: New mount API. * libfs/src/devfs/devfs.h, libfs/src/devfs/devfs_init.c, libfs/src/dosfs/dosfs.h, libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_init.c, libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_eval.c, libfs/src/imfs/imfs_init.c, libfs/src/imfs/miniimfs_init.c, libfs/src/nfsclient/src/librtemsNfs.h, libfs/src/rfs/rtems-rfs-rtems.c, libfs/src/rfs/rtems-rfs.h, libnetworking/lib/ftpfs.c, libnetworking/rtems/ftpfs.h, libnetworking/rtems/tftp.h: New mount_h API. * libfs/src/devfs/devfs_eval.c: Local include of extern ops. * libfs/src/nfsclient/src/nfs.c: New mount API. Removed the mount me call and fixed the initialisation to happen when mounting. * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Remove mount filesystem files. * libmisc/fsmount/fsmount.c, libmisc/fsmount/fsmount.h: Updated to the new mount table values. * libmisc/shell/main_mount_ftp.c, libmisc/shell/main_mount_msdos.c, libmisc/shell/main_mount_rfs.c, libmisc/shell/main_mount_tftp.c: Removed. * libmisc/shell/main_mount.c: Use the new mount API. Also access the file system table for the file system types. * libnetworking/lib/tftpDriver.c: Updated to the new mount API. Fixed to allow mounting from any mount point. Also can now have more than file system mounted. * sapi/include/confdefs.h: Add file system configuration support.
* Add stringto/stringto_template.h to libstringto_a_SOURCES.Ralf Corsepius2010-03-281-3/+1
|
* 2010-03-09 Joel Sherrill <joel.sherrilL@oarcorp.com>Joel Sherrill2010-03-091-2/+2
| | | | * libmisc/Makefile.am: Remove duplicate file from list.
* 2010-02-19 Chris Johns <chrisj@rtems.org>Chris Johns2010-02-191-2/+3
| | | | | | | | | | | | | | | | | * libblock/src/diskdevs.c: Create the devices as block devices. * libmisc/shell/main_debugrfs.c, libmisc/shell/main_mkrfs.c, libmisc/shell/main_mount_rfs.c: New. * libmisc/shell/main_msdosfmt.c: Change the command to mkdos and alias the old name. * libmisc/shell/shellconfig.h, libmisc/Makefile.am: Add RFS support. * libfs/src/rfs/rtems-rfs-shell.c, libfs/src/rfs/rtems-rfs-shell.h: Move the format command code into the shell file.
* 2009-11-18 Chris Johns <chrisj@rtems.org>Chris Johns2009-11-181-1/+2
| | | | | | | | * libmisc/shell/main_getenv.c, libmisc/shell/main_setenv.c, libmisc/shell/main_unsetenv.c: New. The shell can now play with environment variables. * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add setenv, getenv, and unsetenv to the shell.
* 2009-10-08 Chris Johns <chrisj@rtems.org>Chris Johns2009-10-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am, preinstall.am: Added statvfs.h. * libcsupport/Makefile.am: Add statvfs.c. * libcsupport/include/sys/statvfs.h, libcsupport/src/statvfs.c: New. * libcsupport/include/rtems/libio.h: Add a file system handler for the statvfs call. * libfs/src/devfs/devfs_init.c, libfs/src/dosfs/msdos_init.c, libfs/src/imfs/imfs_init.c, libfs/src/nfsclient/src/nfs.c: Set the statvfs handler to NULL. * include/rtems/fs.h: Add a second node access field for the RFS file system to hold a directory offset while the existing field holds the inode number. This save a rescan of the directory when working with directories. * libblock/include/rtems/bdbuf.h: Added references and user fields to the buffer descriptor. * libblock/src/bdbuf.c: Added dynamic buffer support for different block sizes. Fixed a number of bugs. * libblock/src/blkdev.c: Release the disk device on an error. * libblock/src/diskdevs.c: Set the block size to the media block size during initialisation of the disk device. * libblock/src/flashdisk.c, libblock/src/nvdisk.c, libblock/src/ramdisk.c: Updated the drivers to handle variable block sizes. * libfs/src/dosfs/fat.c, libfs/src/dosfs/fat.h: Release any buffers when an error occurs. The FAT buffer layer hangs onto a single buffer while mounted. This should be fixed. * sapi/inline/rtems/chain.inl: Added rtems_chain_set_off_chain, rtems_chain_is_node_off_chain, and rtems_chain_previous. * score/inline/rtems/score/chain.inl: Added _Chain_Set_off_chain, and _Chain_Is_node_off_chain. * libmisc/shell/main_ln.c, libmisc/shell/main_mknod.c, libmisc/shell/mknod-pack_dev.c, libmisc/shell/mknod-pack_dev.h: New shell commands. * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Added ln and mknod commands. * libmisc/shell/hexdump-display.c: Fixed the reopen bug which showed up as a free with a bad pointer. * libmisc/shell/main_mount.c: List the user adding file system when listing the available file systems to mount. * libmisc/shell/utils-cp.c: Remove the fixed static copy buffer and use a large dynamic buffer. * score/inline/rtems/score/address.inl, score/src/coremsgsubmit.c, score/src/objectallocate.c, score/src/objectfree.c: Remove warnings.
* 2009-08-21 Roxana Leontie <roxana.leontie@gmail.com>Joel Sherrill2009-08-211-3/+2
| | | | | | | | * Makefile.am, preinstall.am, libmisc/Makefile.am: Changed the name of mw-fb directory into fb. Relocated files. * libmisc/fb/fb.h, libmisc/fb/mw_uid.c, libmisc/fb/mw_uid.h: New files. * libmisc/mw-fb/fb.h, libmisc/mw-fb/mw_uid.c, libmisc/mw-fb/mw_uid.h: Removed.
* 2009-08-05 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-08-051-1/+6
| | | | | | | * Makefile.am, preinstall.am, libmisc/Makefile.am, wrapup/Makefile.am: Add new BSP Boot Command Line helper routines. Recently boot_card() has grown the ability to have a command line string pointer. These routines provide an interface to that string.
* 009-08-05 Chris Johns <chrisj@rtems.org>Chris Johns2009-08-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * libmisc/dummy/dummy-networking.c: New. * libmisc/dummy/dummy.c, libmisc/Makefile.am: Move trhe networking configuration into a separate file so configuration varations do not cause conflicts. * score/inline/rtems/score/object.inl, score/include/rtems/score/object.h: Remove warnings. * score/inline/rtems/score/object.inl: Add _Chain_First, _Chain_Last, _Chain_Mext, and _Chain_Previous. * sapi/inline/rtems/chain.inl: Add rtems_chain_first, rtems_chain_last, rtems_chain_mext, and rtems_chain_previous. * libblock/include/rtems/diskdevs.h: Remove the bdbuf pool id and block_size_log2. Add media_block_size. * libblock/src/diskdevs.c: Remove size restrictions on block size. Add media block size initialisation. Remove comment to clean up the bdbuf cache. * libblock/src/blkdev.c: Remove references to block_size_log2. Allow any block size. * libblock/include/rtems/bdbuf.h, libblock/src/bdbuf.c: Remove all references to pools and make the cache handle demand driver variable buffer size allocation. Added worker threads support the swapout task. * sapi/include/confdefs.h: Updated the bdbuf configutation.
* 2009-08-03 Roxana Leontie <roxana.leontie@gmail.com>Joel Sherrill2009-08-031-1/+1
| | | | | | * Makefile.am, preinstall.am, libmisc/Makefile.am: changed the references to mw_fb.h into fb.h * libmisc/mw-fb/mw_fb.h: renamed fb.h
* 2009-07-23 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-231-0/+1
| | | | | | | | | | | | | * libmisc/Makefile.am, libmisc/shell/main_chmod.c, libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c, libmisc/shell/main_mmove.c, libmisc/shell/main_msdosfmt.c, libmisc/shell/main_mwdump.c, libmisc/shell/main_sleep.c, libmisc/shell/main_umask.c, libmisc/shell/shell_script.c, libmisc/stringto/stringto.h, libmisc/stringto/stringto_template.h: Convert return type from bool to rtems_status_code and add rtems_string_to_pointer. Perform associated clean up and changes for return type change. * libmisc/stringto/stringtopointer.c: New file.
* 2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-221-1/+1
| | | | | | | | | | | | * libmisc/Makefile.am, libmisc/shell/main_chmod.c, libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c, libmisc/shell/main_mmove.c, libmisc/shell/main_msdosfmt.c, libmisc/shell/main_mwdump.c, libmisc/shell/main_sleep.c, libmisc/shell/main_umask.c, libmisc/shell/shell.h, libmisc/shell/shell_script.c, libmisc/stringto/stringto_template.h: Convert all shell code to use stringto.h mehods with better error checking. * libmisc/shell/str2int.c: Removed.
* 2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-221-16/+15
| | | | | | | | | | | | | | | | | * Makefile.am, preinstall.am, libmisc/Makefile.am, wrapup/Makefile.am: Add the stringto family of string to number converters. These are error checking wrappers for the strtoXXX methods and do their best to return false if the conversion failed. The error checking required for this is tedious and error prone. Hence better to have in a family of helper routines. * libmisc/stringto/stringto.h, libmisc/stringto/stringto_template.h, libmisc/stringto/stringtodouble.c, libmisc/stringto/stringtofloat.c, libmisc/stringto/stringtoint.c, libmisc/stringto/stringtolong.c, libmisc/stringto/stringtolonglong.c, libmisc/stringto/stringtounsignedchar.c, libmisc/stringto/stringtounsignedint.c, libmisc/stringto/stringtounsignedlong.c, libmisc/stringto/stringtounsignedlonglong.c: New files.
* 2009-07-21 Roxana Leontie <roxana.leontie@gmail.com>Joel Sherrill2009-07-211-1/+1
| | | | | | | * libmisc/Makefile.am, libmisc/mw-fb/mw_fb.h: mw_fb.h eliminated the ufb_* calls and replaced some of the ioctl structures and numbers with the linux framebuffer equivalents * libmisc/mw-fb/mw_fb.c: Removed.
* 2009-06-17 Chris Johns <chrisj@rtems.org>Chris Johns2009-06-171-1/+2
| | | | | | | * libmisc/shell/extern-dd.h: Delcare the conv arrays extern to stop PPC link errors. * libmisc/shell/main_time.c, libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add a time command.
* 2009-06-12 Chris Johns <chrisj@rtems.org>Chris Johns2009-06-121-1/+6
| | | | | | | | | | | | | * libmisc/shell/dd-args.c, libmisc/shell/dd-conv.c, libmisc/shell/dd-conv_tab.c, libmisc/shell/dd-misc.c, libmisc/shell/dd-position.c, libmisc/shell/dd.h, libmisc/shell/extern-dd.h, libmisc/shell/hexdump-conv.c, libmisc/shell/hexdump-display.c, libmisc/shell/hexdump-odsyntax.c, libmisc/shell/hexdump-parse.c, libmisc/shell/hexdump.h, libmisc/shell/hexsyntax.c, libmisc/shell/main_dd.c, libmisc/shell/main_hexdump.c: New. * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add dd and hexdump commands.
* 2009-05-27 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2009-05-271-1/+1
| | | | | | * libcsupport/include/rtc.h: New RTC driver interface. * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Added RTC command. * libmisc/shell/main_rtc.c: New file.
* UpdateThomas Doerfler2009-05-051-1/+17
|
* 2009-03-27 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2009-03-271-1/+1
| | | | | | | | | | | | * Makefile.am, preinstall.am, libmisc/Makefile.am, libmisc/shell/shell.c, libmisc/shell/shell.h, telnetd/check_passwd.c, telnetd/telnetd.c, telnetd/telnetd.h: Generalized login check. * libmisc/shell/login.h, libmisc/shell/login_check.c, libmisc/shell/login_prompt.c: New files. * libmisc/stackchk/check.c: Changed format for blown stack message. * libcsupport/src/libio_sockets.c: Removed superfluous cast. * libnetworking/rtems/ftpfs.h: Documentation.