summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2009-03-12 Santosh G Vattam <vattam.santosh@gmail.com>Joel Sherrill2009-03-121-1/+1
| | | | | | PR 1378/filesystem * libfs/src/imfs/deviceio.c: IMFS device lseek should return the current offset.
* 2009-03-09 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-03-099-14/+14
| | | | | | | | | | PR 1376/filesystem * libcsupport/include/rtems/libio.h, libfs/src/dosfs/fat_file.c, libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_file.c, libfs/src/imfs/deviceio.c, libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_directory.c, libfs/src/imfs/memfile.c, libfs/src/nfsclient/src/nfs.c: lseek handlers should return off_t.
* 2009-01-29 Gene Smith <gene.smith@siemens.com>Joel Sherrill2009-01-291-1/+1
| | | | | | PR 1363/filesystem * libfs/src/dosfs/fat.h: Fix issue where 32 bit values are not written correctly in FAT f/s data.
* 2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-12-081-2/+0
| | | | | * libfs/src/nfsclient/Makefile.am: Remove RTEMS_RELLDFLAGS. * aclocal/prog-cc.m4: Add RTEMS_RELLDFLAGS hack.
* 2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-12-081-0/+1
| | | | * libfs/src/nfsclient/src/dirutils.c: #include <limits.h>.
* 2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-083-20/+20
| | | | | | | | | | | | * libcsupport/include/rtems/libio_.h, libcsupport/src/libio_sockets.c, libfs/src/dosfs/fat.h, libfs/src/dosfs/msdos.h, libfs/src/imfs/deviceio.c, libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c, libmisc/monitor/mon-symbols.c, libmisc/monitor/monitor.h, libmisc/stackchk/internal.h, rtems/inline/rtems/rtems/part.inl, score/include/rtems/system.h, score/include/rtems/score/bitfield.h, score/src/mpci.c, score/src/objectextendinformation.c, score/src/threadmp.c: Remove extraneous spaces.
* Convert to Unix file format.Ralf Corsepius2008-09-061-161/+161
|
* 2008-09-05 Eric Norum <norume@aps.anl.gov>Joel Sherrill2008-09-051-5/+5
| | | | | * libfs/src/nfsclient/src/rpcio.c: Correct breakage introduced by Joel removing asserts with side-effects.
* Use "bool" instead of "rtems_boolean|boolean".Ralf Corsepius2008-09-0410-39/+39
|
* Change "done" to bool.Ralf Corsepius2008-09-041-2/+2
|
* Stop using old-style definitions.Ralf Corsepius2008-09-041-8/+8
|
* 2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-08-192-71/+89
| | | | | | | | * libfs/src/nfsclient/src/nfs.c, libfs/src/nfsclient/src/rpcio.c: Remove some warnings. Using ASSERT/assert macros confuses gcc who is unsure actions take place. More importantly if you ever compiled with NDEBUG set wrong, intended actions would not occur. Likely I did not catch all of these.
* 2008-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-08-181-7/+0
| | | | | | | | | | | | * itron/include/rtems/itron/task.h, itron/src/def_cyc.c, itron/src/task.c, libcsupport/src/newlibc_exit.c, libcsupport/src/sync.c, libfs/src/imfs/imfs_fchmod.c, posix/include/rtems/posix/pthread.h, posix/src/pthread.c, posix/src/sysconf.c, rtems/include/rtems/rtems/tasks.h, rtems/src/tasks.c, score/include/rtems/score/stack.h, score/inline/rtems/score/stack.inl, score/inline/rtems/score/thread.inl, score/src/threadhandler.c: Fix various nested-externs warnings.
* Add missing prototype.Ralf Corsepius2008-08-161-1/+1
|
* Add prototypes.Ralf Corsepius2008-08-011-31/+31
|
* Add missing prototype.Ralf Corsepius2008-08-011-1/+1
|
* 2008-07-29 Chris Johns <chrisj@rtems.org>Chris Johns2008-07-2913-298/+296
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libblock/Makefile.am: Removed src/show_bdbuf.c. * libblock/src/show_bdbuf.c: Removed. * libblock/include/rtems/bdbuf.h, cpukit/libblock/src/bdbuf.c: Rewritten the bdbuf code. Remove pre-emption disable, score access, fixed many bugs and increased performance. * libblock/include/rtems/blkdev.h: Added RTEMS_BLKDEV_CAPABILITIES block device request. Cleaned up comments. Added block and user fields to the sg buffer request. Move to rtems_* namespace. * libblock/include/rtems/diskdevs.h, cpukit/libblock/src/diskdevs.c: Move to rtems_* namespace. Add a capabilities field for drivers. Change rtems_disk_lookup to rtems_disk_obtain to match the release call. You do not lookup and release a disk, you obtain and release a disk. * libblock/include/rtems/ide_part_table.h, libblock/include/rtems/ramdisk.h, libblock/src/ide_part_table.c: Move to rtems_* namespace. * libblock/include/rtems/nvdisk.h: Formatting change. * libblock/src/blkdev.c: Move to rtems_* namespace. Change rtems_disk_lookup to rtems_disk_obtain * libblock/src/flashdisk.c: Move to rtems_* namespace. Use the new support for the block number in the scatter/grather request struct. This allows non-continuous buffer requests for those drivers that can support increasing performance. * libblock/src/nvdisk.c: Move to rtems_* namespace. Removed warnings. Added better error checking. Fixed some comments. * libblock/src/ramdisk.c: Move to rtems_* namespace. Added some trace functions to help debugging upper layers. Use the new support for the block number in the scatter/grather request struct. This allows non-continuous buffer requests for those drivers that can support increasing performance. * libfs/src/dosfs/fat.c, libfs/src/dosfs/fat.h: Use new chains API. Removed temporary hack and changed set_errno_and_return_minus_one to rtems_set_errno_and_return_minus_one. Move fat_buf_access from header and stopped it being inlined. Updated to libblock changes. * libfs/src/dosfs/fat_fat_operations.c, libfs/src/dosfs/fat_file.c, libfs/src/dosfs/msdos_create.c, libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_eval.c, libfs/src/dosfs/msdos_file.c, libfs/src/dosfs/msdos_format.c, libfs/src/dosfs/msdos_free.c, libfs/src/dosfs/msdos_initsupp.c, libfs/src/dosfs/msdos_misc.c, libfs/src/dosfs/msdos_mknod.c: Use new chains API. Removed temporary hack and changed set_errno_and_return_minus_one to rtems_set_errno_and_return_minus_one. Updated to libblock changes. * libmisc/Makefile.am: Add new ls and rm command files. * libmisc/shell/cmp-ls.c, libmisc/shell/extern-ls.h, libmisc/shell/filemode.c, libmisc/shell/print-ls.c, libmisc/shell/pwcache.c, libmisc/shell/utils-ls.c, libmisc/shell/vis.c, shell/vis.h: New. * libmisc/shell/extern-cp.h, libmisc/shell/main_cp.c, libmisc/shell/utils-cp.c: Fixed the usage call bug. * libmisc/shell/main_blksync.c: Updated to the new block IO ioctl command. * libmisc/shell/main_ls.c, libmisc/shell/main_rm.c: Updated to BSD commands with more features. * score/src/coremutex.c: Fix the strick order mutex code. * libmisc/shell/shell.c: Change shell tasks mode to be timeslice and no ASR. * sapi/include/confdefs.h: Change ata_driver_task_priority to rtems_ata_driver_task_priority. Add the new BD buf cache parameters with defaults. * score/src/interr.c: Do not return if the CPU halt call returns.
* Added S_IRWXU, S_IRWXG and S_IRWXO to file mode.Thomas Doerfler2008-07-105-3/+16
|
* 2008-07-03 Chris Johns <chrisj@rtems.org>Chris Johns2008-07-0310-34/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cpukit/libcsupport/include/chain.h: Removed. Use the SAPI interface that is supported. * cpukit/libcsupport/Makefile.am, cpukit/libcsupport/preinstall.am: Remove chain.h header references. * cpukit/sapi/include/rtems/chain.h, cpukit/sapi/inline/rtems/chain.inl: New. A supported chains interface. * cpukit/sapi/Makefile.am, cpukit/sapi/preinstall.am: Updated to include the new chains interface. * cpukit/libfs/src/imfs/imfs.h, cpukit/libfs/src/imfs/imfs_creat.c, cpukit/libfs/src/imfs/imfs_debug.c, cpukit/libfs/src/imfs/imfs_directory.c, cpukit/libfs/src/imfs/imfs_fsunmount.c, cpukit/libfs/src/imfs/imfs_getchild.c, cpukit/libfs/src/imfs/imfs_load_tar.c, cpukit/libfs/src/imfs/imfs_rmnod.c, cpukit/libfs/src/imfs/memfile.c, cpukit/libfs/src/nfsclient/src/nfs.c, cpukit/libcsupport/include/rtems/libio.h, cpukit/libcsupport/src/malloc_deferred.c, cpukit/libcsupport/src/mount.c, cpukit/libcsupport/src/privateenv.c, cpukit/libcsupport/src/unmount.c: Change to the new chains interface. * cpukit/libcsupport/src/malloc_boundary.c: Remove warning.
* 2008-05-30 Till Straumann <strauman@slac.stanford.edu>Till Straumann2008-05-301-0/+5
| | | | | | * libfs/src/nfsclient/src/nfs.c:BUGFIX: must not attempt to release node if rtems_filesystem_evaluate_path() fails in nfs_eval_link() since pathloc contains no valid node.
* Added const qualifier to various pointers and data tables toThomas Doerfler2008-05-2720-82/+94
| | | | | | reduce size of data area. IMFS: Fixed creation of symbolic links to avoid a compiler warning. DOSFS: Use LibBlock instead of read() to read the boot record.
* Handle cluster servers better.Eric Norum2008-04-251-1/+8
|
* Clean up error handling.Eric Norum2008-04-241-0/+6
|
* 2008-04-03 Chris Johns <chrisj@rtems.org>Chris Johns2008-04-032-11/+0
| | | | | | | | | | | | * 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-02-26 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-02-2625-0/+12067
| | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* 2007-04-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2007-04-161-0/+4
| | | | | | PR 1240/filesystem * libfs/src/imfs/imfs_rmnod.c: Fix link when removing a symlink. Memory for filename was not being freed.
* 2007-03-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2007-03-081-5/+1
| | | | * libfs/src/imfs/imfs.h: Fix comment.
* 2006-12-12 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2006-12-121-11/+0
| | | | | | * libfs/src/imfs/imfs.h: Remove increment_and_check_linkcounts (unused), decrement_linkcounts (unused, broken).
* Use size_t instead of uint32_t for read/write count-args.Ralf Corsepius2006-12-087-17/+17
|
* 2006-11-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2006-11-171-1/+1
| | | | | * configure.ac, Makefile.am, libfs/Makefile.am: Introduce AM_CONDITIONAL(LIBDOSFS).
* 2006-08-29 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-08-2911-148/+128
| | | | | | | | | * libfs/src/dosfs/fat.h, libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_create.c, libfs/src/dosfs/msdos_eval.c, libfs/src/dosfs/msdos_file.c, libfs/src/dosfs/msdos_free.c, libfs/src/dosfs/msdos_fsunmount.c, libfs/src/dosfs/msdos_init.c, libfs/src/dosfs/msdos_misc.c, libfs/src/dosfs/msdos_mknod.c, libfs/src/imfs/imfs_debug.c: Remove warnings.
* applied patches for PR1117/1118/1119/1120Thomas Doerfler2006-07-092-1/+47
|
* New.Ralf Corsepius2006-01-121-0/+7
|
* Remove all-local.Ralf Corsepius2006-01-121-3/+1
|
* 2006-01-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-01-081-3/+3
| | | | | * libcsupport/src/unixlibc.c, libfs/src/imfs/ioman.c: Change rtems_io_register_name to take a const char *.
* 2005-10-17 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-10-171-6/+6
| | | | * libfs/src/dosfs/msdos_misc.c: Revert to vers. 1.9.
* 2005-10-06 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-10-061-6/+6
| | | | | PR 828/filesystems * libfs/src/dosfs/msdos_misc.c: Problem retracted. Revert patch.
* 2005-08-17 Nickolay Semyonov <snob@oktetlabs.ru>Joel Sherrill2005-08-171-2/+2
| | | | | | | | PR 744/filesystem * libcsupport/src/unlink.c, libfs/src/dosfs/msdos_eval.c: DOSFS did not support permissions on directories so the check performed by unlink would always fail. The unlink code was modified to support a not supported status being returned.
* Introduce msdos_status_t.Ralf Corsepius2005-08-059-32/+34
|
* 2005-05-06 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-05-067-19/+23
| | | | | | | | * libblock/src/blkdev.c, libfs/src/dosfs/fat_file.c, libfs/src/dosfs/fat_file.h, libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_create.c, libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_initsupp.c, libfs/src/dosfs/msdos_misc.c: Removed warnings.
* 2005-05-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-05-032-7/+8
| | | | | * libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_load_tar.c: Use uint8_t instead of char for raw data buffer.
* 2005-05-02 Jennifer Averett <jennifer.averett@oarcorp.com>Jennifer Averett2005-05-021-1/+1
| | | | | * libfs/src/dosfs/msdos_format.c, librpc/src/xdr/xdr.c: Added initialization to remove warnings.
* Add copy-on-write semantics to rtems_tarfs_load().Eric Norum2005-02-0811-208/+25
|
* 2005-02-08 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-02-081-34/+4
| | | | | | | * configure.ac: Add new header guard to cpuopts.h. * Makefile.am: Add libfs, libblock, ftpd header install rules. * libfs/Makefile.am, libblock/Makefile.am, ftpd/Makefile.am: Remove header install rules.
* 2005-02-07 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-02-072-76/+15
| | | | | | * libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_load_tar.c, libmisc/untar/untar.c, libmisc/untar/untar.h: Various generalizations and fixes.
* 2005-02-05 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-02-051-3/+1
| | | | * libfs/Makefile.am: Build libfs/src/imfs/imfs_load_tar.c.
* New header guard.Ralf Corsepius2005-01-282-5/+5
|
* 2005-01-28 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-01-281-2/+0
| | | | | | | * itron/Makefile.am, libblock/Makefile.am, libcsupport/Makefile.am, libfs/Makefile.am, libmisc/Makefile.am, posix/Makefile.am, rtems/Makefile.am, sapi/Makefile.am: Remove AM_CPPFLAGS += -I$(top_builddir).
* 2005-01-18 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-01-192-6/+6
| | | | | * libfs/src/dosfs/msdos_create.c, libfs/src/dosfs/msdos_misc.c: Eliminate warnings.
* 2005-01-18 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-01-191-1/+1
| | | | | * libfs/src/dosfs/fat.c (fat_init_volume_info): Reflect fs_info->sec_buf being a uint8_t.