| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
PR 1378/filesystem
* libfs/src/imfs/deviceio.c: IMFS device lseek should return the
current offset.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
PR 1363/filesystem
* libfs/src/dosfs/fat.h: Fix issue where 32 bit values are not written
correctly in FAT f/s data.
|
|
|
|
|
| |
* libfs/src/nfsclient/Makefile.am: Remove RTEMS_RELLDFLAGS.
* aclocal/prog-cc.m4: Add RTEMS_RELLDFLAGS hack.
|
|
|
|
| |
* libfs/src/nfsclient/src/dirutils.c: #include <limits.h>.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
| |
* libfs/src/nfsclient/src/rpcio.c: Correct breakage introduced by Joel
removing asserts with side-effects.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
PR 1240/filesystem
* libfs/src/imfs/imfs_rmnod.c: Fix link when removing a symlink. Memory
for filename was not being freed.
|
|
|
|
| |
* libfs/src/imfs/imfs.h: Fix comment.
|
|
|
|
|
|
| |
* libfs/src/imfs/imfs.h: Remove
increment_and_check_linkcounts (unused),
decrement_linkcounts (unused, broken).
|
| |
|
|
|
|
|
| |
* configure.ac, Makefile.am, libfs/Makefile.am:
Introduce AM_CONDITIONAL(LIBDOSFS).
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* libcsupport/src/unixlibc.c, libfs/src/imfs/ioman.c: Change
rtems_io_register_name to take a const char *.
|
|
|
|
| |
* libfs/src/dosfs/msdos_misc.c: Revert to vers. 1.9.
|
|
|
|
|
| |
PR 828/filesystems
* libfs/src/dosfs/msdos_misc.c: Problem retracted. Revert patch.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_load_tar.c: Use uint8_t
instead of char for raw data buffer.
|
|
|
|
|
| |
* libfs/src/dosfs/msdos_format.c, librpc/src/xdr/xdr.c: Added
initialization to remove warnings.
|
| |
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_load_tar.c,
libmisc/untar/untar.c, libmisc/untar/untar.h:
Various generalizations and fixes.
|
|
|
|
| |
* libfs/Makefile.am: Build libfs/src/imfs/imfs_load_tar.c.
|
| |
|
|
|
|
|
|
|
| |
* 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).
|
|
|
|
|
| |
* libfs/src/dosfs/msdos_create.c, libfs/src/dosfs/msdos_misc.c:
Eliminate warnings.
|
|
|
|
|
| |
* libfs/src/dosfs/fat.c (fat_init_volume_info): Reflect
fs_info->sec_buf being a uint8_t.
|