summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2009-10-14 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-10-141-58/+0
| | | | | * libcsupport/src/no_libc.c: Remove. * libcsupport/Makefile.am: Remove no_libc.c.
* 2009-10-14 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-10-141-4/+0
| | | | * libcsupport/src/newlibc_reent.c: Eliminate RTEMS_UNIX.
* 2009-10-14 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-10-141-4/+1
| | | | * libcsupport/src/newlibc_exit.c: Eliminate RTEMS_UNIX.
* 2009-10-14 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-10-141-3/+0
| | | | * libcsupport/src/base_fs.c: Eliminate RTEMS_UNIX.
* 2009-10-14 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-10-141-3/+0
| | | | * libcsupport/src/stat.c: Eliminate RTEMS_UNIX.
* Remove.Ralf Corsepius2009-10-143-120/+0
|
* Reflect having introduced rtems_error_code_t.Ralf Corsepius2009-10-121-2/+2
|
* 2009-10-08 Chris Johns <chrisj@rtems.org>Chris Johns2009-10-081-0/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Rework autoconf defines.Ralf Corsepius2009-09-308-7/+9
|
* 2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-09-301-10/+6
| | | | | * libcsupport/src/_rename_r.c: Rework autoconf defines. Remove unused includes.
* 2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-09-301-14/+10
| | | | | * libcsupport/src/__gettod.c: Rework autoconf defines. Eliminate RTEMS_UNIX.
* Rework autoconf defines.Ralf Corsepius2009-09-304-4/+4
|
* Remove unused includes.Ralf Corsepius2009-09-301-8/+1
|
* Eliminate RTEMS_UNIX.Ralf Corsepius2009-09-301-2/+1
|
* Rework autoconf defines.Ralf Corsepius2009-09-302-2/+2
|
* Comment out checkMallocArena (unused).Ralf Corsepius2009-09-301-2/+5
|
* 2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-09-301-2/+3
| | | | * libcsupport/src/__assert.c: Rework autoconf defines.
* 2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-09-301-2/+1
| | | | | * libcsupport/src/__brk.c: Eliminate RTEMS_UNIX. Remove unused includes.
* Remove unused includes.Ralf Corsepius2009-09-302-13/+2
|
* Remove stray whitespace.Ralf Corsepius2009-09-301-1/+0
|
* Remove #include <inttypes.h>.Ralf Corsepius2009-09-301-1/+0
|
* 2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-09-301-2/+2
| | | | | | * libcsupport/src/termios_setinitialbaud.c: Include rtems/termiostypes.h. Rename termios_set_initial_baud into rtems_termios_set_initial_baud.
* 2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-09-301-2/+3
| | | | | | * libcsupport/src/termios_num2baud.c: Include rtems/termiostypes.h. Rename termios_number_to_baud into rtems_number_to_baud.
* 2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-09-301-2/+3
| | | | | | * libcsupport/src/termios_baud2num.c: Include rtems/termiostypes.h. Rename termios_baud_to_number into rtems_termios_baud_to_number.
* 2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-09-301-2/+3
| | | | | | * libcsupport/src/termios_baud2index.c: Include rtems/termiostypes.h. Rename termios_baud_to_index into rtems_termios_baud_to_index.
* 2009-09-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-09-261-2/+2
| | | | | | * libcsupport/include/rtems/libcsupport.h, libcsupport/src/newlibc_reent.c: Eliminate use of deprecated rtems_extension.
* 2009-09-24 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-09-241-4/+2
| | | | | | * libcsupport/src/getpagesize.c, posix/Makefile.am: Eliminate one copy of getpagesize() and make it return an int. * posix/src/getpagesize.c: Removed.
* Rely upon uintmax_t and PRIuMAX being provided.Ralf Corsepius2009-09-151-9/+0
|
* Reflect rtems_libio_number_iops being uint32_t.Ralf Corsepius2009-09-152-4/+4
|
* Remove extern uint32_t rtems_libio_number_iops.Ralf Corsepius2009-09-151-1/+0
|
* Add __attribute__((unused)) to function arguments.Ralf Corsepius2009-09-1512-14/+22
|
* Add __attribute__((unused)) to function arguments.Ralf Corsepius2009-09-1521-24/+28
|
* 2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-09-151-9/+3
| | | | | | | | | PR 1441/cpukit * libcsupport/src/tcgetprgrp.c: Remove. * libcsupport/src/tcgetpgrp.c: New (Renamed from libcsupport/src/tcgetprgrp.c). * libcsupport/Makefile.am: Add libcsupport/src/tcgetpgrp.c. Remove libcsupport/src/tcgetprgrp.c.
* 2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-09-151-2/+2
| | | | * libcsupport/src/getpwent.c: Ansify.
* 2009-09-14 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill2009-09-148-72/+85
| | | | | | | | | | | | | | | | | | * score/src/wkspace.c: Removed work space area consistency checks. * libblock/include/rtems/ide_part_table.h: Functions are now deprecated. * libcsupport/include/rtems/libcsupport.h, libcsupport/src/calloc.c, libcsupport/src/malloc_boundary.c, libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_report_statistics_plugin.c, libcsupport/src/malloc_statistics_helpers.c, libcsupport/src/malloc_walk.c, libcsupport/src/realloc.c, rtems/inline/rtems/rtems/region.inl: Update for heap API changes. 2009-09-14 Christian Mauderer <christian.mauderer@embedded-brains.de> * libcsupport/src/vprintk.c: Fixed warnings. Print nothing in case the pointer to the string is NULL.
* 2009-09-06 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-09-061-0/+15
| | | | | | | * libcsupport/src/issetugid.c: New (relocated from libnetworking). * libnetworking/rtems/issetugid.c: Remove. * libnetworking/Makefile.am: Reflect changes above. * libcsupport/Makefile.am: Reflect changes above.
* 2009-09-06 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill2009-09-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | * libcsupport/src/free.c, libmisc/stackchk/check.c, rtems/include/rtems/rtems/region.h, rtems/src/regioncreate.c, rtems/src/regionextend.c, rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c, rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c, score/src/pheapallocate.c, score/src/pheapallocatealigned.c, score/src/pheapextend.c, score/src/pheapfree.c, score/src/pheapgetblocksize.c, score/src/pheapgetfreeinfo.c, score/src/pheapgetinfo.c, score/src/pheapgetsize.c, score/src/pheapinit.c, score/src/pheapresizeblock.c, score/src/pheapwalk.c: Update for heap API changes. * score/include/rtems/score/apimutex.h, score/include/rtems/score/object.h: Documentation. * score/include/rtems/score/heap.h, score/include/rtems/score/protectedheap.h, score/inline/rtems/score/heap.inl, score/src/heap.c, score/src/heapallocate.c, score/src/heapallocatealigned.c, score/src/heapextend.c, score/src/heapfree.c, score/src/heapgetfreeinfo.c, score/src/heapgetinfo.c, score/src/heapresizeblock.c, score/src/heapsizeofuserarea.c, score/src/heapwalk.c: Overall cleanup. Added boundary constraint to allocation function. More changes follow.
* 2009-08-28 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-281-1/+0
| | | | | | * libcsupport/src/malloc_initialize.c, sapi/src/exinit.c, score/src/threadstartmultitasking.c: Fix spacing. * libmisc/stackchk/check.c: Move variable into compiler specific conditional.
* 2009-08-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-08-151-1/+1
| | | | * libcsupport/src/termios_baud2num.c: B134 should return 134 not 135.
* 2009-08-12 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-121-1/+4
| | | | | | | * libcsupport/src/malloc_boundary.c: This is currently non-funcitonal. Do not build it when doing coverage until it works again. * sapi/include/confdefs.h: Address linking errors when building for configuration.
* 2009-08-12 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-121-5/+0
| | | | | * libcsupport/Makefile.am: Obsolete coverage file. * libcsupport/src/end_profile.c: Removed.
* 2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-08-101-1/+1
| | | | | | * libcsupport/src/__times.c, libfs/src/nfsclient/src/nfsTest.c, libfs/src/nfsclient/src/rpcio.c: Convert calls to legacy routine rtems_clock_get( RTEMS_CLOCK_GET_xxx, ..) to rtems_clock_get_xxx().
* Fix commentJoel Sherrill2009-08-061-1/+1
|
* 2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-051-0/+5
| | | | | | | | | * libcsupport/Makefile.am, rtems/Makefile.am, rtems/preinstall.am, sapi/Makefile.am, sapi/preinstall.am, score/Makefile.am, score/preinstall.am, score/include/rtems/score/heap.h, score/inline/rtems/score/heap.inl: Remove inline version now that it is in a C file. * libcsupport/src/end_profile.c: New file.
* 2009-08-05 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2009-08-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libcsupport/include/rtems/libio_.h, libcsupport/src/fs_null_handlers.c: Null handlers are now const. * libi2c/libi2c.c, libi2c/libi2c.h: Documentation. Do not create semaphores on the fly. * cpukit/libblock/src/bdpart.c: Fixed format specifier. * cpukit/libblock/include/rtems/bdbuf.h, rtems/include/rtems.h, rtems/include/rtems/rtems/asr.h, rtems/include/rtems/rtems/attr.h, rtems/include/rtems/rtems/barrier.h, rtems/include/rtems/rtems/barriermp.h, rtems/include/rtems/rtems/cache.h, rtems/include/rtems/rtems/clock.h, rtems/include/rtems/rtems/config.h, rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h, rtems/include/rtems/rtems/eventmp.h, rtems/include/rtems/rtems/eventset.h, rtems/include/rtems/rtems/intr.h, rtems/include/rtems/rtems/message.h, rtems/include/rtems/rtems/modes.h, rtems/include/rtems/rtems/mp.h, rtems/include/rtems/rtems/msgmp.h, rtems/include/rtems/rtems/object.h, rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/partmp.h, rtems/include/rtems/rtems/ratemon.h, rtems/include/rtems/rtems/region.h, rtems/include/rtems/rtems/regionmp.h, rtems/include/rtems/rtems/rtemsapi.h, rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/semmp.h, rtems/include/rtems/rtems/signal.h, rtems/include/rtems/rtems/signalmp.h, rtems/include/rtems/rtems/status.h, rtems/include/rtems/rtems/support.h, rtems/include/rtems/rtems/taskmp.h, rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h, rtems/include/rtems/rtems/types.h, rtems/inline/rtems/rtems/support.inl: Documentation. * include/rtems/irq-extension.h: Documentation. Added API for interrupt servers.
* 2009-06-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-06-161-0/+30
| | | | | * include/rtems/bspIo.h, libcsupport/Makefile.am: Add putk(). * libcsupport/src/putk.c: New file.
* 2009-06-12 Chris Johns <chrisj@rtems.org>Chris Johns2009-06-121-7/+5
| | | | | | | * libblock/include/rtems/flashdisk.h, libblock/include/rtems/nvdisk.h, libblock/src/flashdisk.c, libblock/src/nvdisk.c: Change names to match the RAM disk change. * libcsupport/src/eval.c: Remove some warnings.
* 2009-06-12 Chris Johns <chrisj@rtems.org>Chris Johns2009-06-1217-59/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libblock/src/bdbuf.c: Update comments. * libblock/src/bdpart.c, libblock/src/ide_part_table.c: Get the device from the rdev field of the stat buf. * libcsupport/include/rtems/libio.h: Add a path length to evalpath handler. Add parent locations to rmmod and unlink handlers. * libcsupport/include/rtems/libio_.h: Add a path length to rtems_filesystem_evaluate_path. Add rtems_filesystem_evaluate_relative_path, rtems_filesystem_dirname, and rtems_filesystem_prefix_separators. Remove rtems_filesystem_evaluate_parent. * libcsupport/src/base_fs.c, libcsupport/src/chdir.c, libcsupport/src/chmod.c, libcsupport/src/chown.c, libcsupport/src/chroot.c, libcsupport/src/fchdir.c, libcsupport/src/link.c, libcsupport/src/mount.c, libcsupport/src/open.c, libcsupport/src/privateenv.c, libcsupport/src/readlink.c, libcsupport/src/unmount.c, libcsupport/src/utime.c, libcsupport/src/unmount.c, libcsupport/src/utime.c, libfs/src/devfs/devfs.h, libfs/src/devfs/devfs_eval.c, libfs/src/devfs/devstat.c, libfs/src/dosfs/msdos_create.c, libfs/src/dosfs/msdos_misc.c, libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_eval.c, libfs/src/imfs/imfs_load_tar.c, libfs/src/imfs/ioman.c, libfs/src/pipe/pipe.c, libmisc/fsmount/fsmount.c, libnetworking/lib/ftpfs.c: Add the length parameter to the eval call. * libcsupport/src/eval.c: Add rtems_filesystem_prefix_separators, rtems_filesystem_dirname, rtems_filesystem_evaluate_relative_path. Add the length parameter to the eval call. * libcsupport/src/rmdir.c: Find the parent pathloc then the node pathloc from that node. Remove the call to find the parent given the node pathloc. * libcsupport/src/stat.c: Add the length parameter to the eval call. Set the device into the rdev field. * libcsupport/src/unlink.c: Find the parent pathloc then the node pathloc from that node. Remove the call to find the parent given the node pathloc. * libfs/src/dosfs/fat.c, libfs/src/dosfs/msdos_format.c: Get the disk device number from the stat rdev field. * libfs/src/dosfs/msdos.h: Add the length parameter to the eval call. Add the parent pathloc to the rmnod handler. * libfs/src/dosfs/msdos_dir.c: Add the parent pathloc to the rmnod handler. * libfs/src/dosfs/msdos_eval.c: Add the length parameter to the eval and token call. * libfs/src/imfs/imfs_directory.c: Add the parent pathloc to the rmnod handler. * libfs/src/imfs/imfs_fchmod.c: Do not test the mode flags for only the allowed flags. Add the missing flags spec'ed in the POSIX standard. * libfs/src/imfs/imfs_fsunmount.c, libfs/src/imfs/imfs_rmnod.c, libfs/src/imfs/imfs_unlink.c, libfs/src/imfs/memfile.c: Add the parent node. Currently ignored in the IMFS. * libfs/src/imfs/imfs_stat.c: Return the device number in the rdev field. * libfs/src/imfs/imfs_mknod.c, libfs/src/imfs/imfs_symlink.c : Add the length parameter to the token call. * libfs/src/nfsclient/src/nfs.c: Add the length parameter to the eval call and parent node to the rmnod and unlink command. * libmisc/shell/internal.h: Remove the libc mounter decl to make public. * libmisc/shell/main_mount.c: Add support for hooking external mount support for new file systems. * libmisc/shell/shell.h: Add helper functions for the mount command.
* 2009-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-05-152-137/+182
| | | | | | * libcsupport/Makefile.am, libcsupport/src/printk.c: Restructure to make analysis and coverage easier. Now 100% covered. * libcsupport/src/vprintk.c: New file.
* 2009-05-06 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-05-061-0/+34
| | | | | * libcsupport/Makefile.am: * libcsupport/src/isatty_r.c: New file.