Ralf Corsepius
145c934384
2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libcsupport/include/rtems/libio.h:
Make LIBIO_FLAGS_* defined unsigned (Avoid implicit sign
conversions).
2011-12-06 06:39:03 +00:00
Ralf Corsepius
7f46921e1d
2011-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libcsupport/include/rtems/libcsupport.h:
Add prototype of malloc_info().
2011-12-02 17:29:07 +00:00
Joel Sherrill
d54fd8fd4d
2011-12-02 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libcsupport/include/sys/termios.h: Add _POSIX_VDISABLE.
2011-12-02 16:42:42 +00:00
Joel Sherrill
89926c95c4
Revert.
2011-11-07 21:41:45 +00:00
Joel Sherrill
4485c9a89d
2011-11-07 Ralf Corsepius <ralf.corsepius@rtems.org>
...
PR 1952/cpukit
* libcsupport/include/rtems/libio.h: Add return code for failure when
unable to write file.
2011-11-07 21:40:26 +00:00
Ralf Corsepius
b799e4ebc1
2011-11-06 Ralf Corsépius <ralf.corsepius@rtems.org>
...
PR1945/cpukit
* libcsupport/include/rtems/libio.h: Mark rtems_off64_t as
deprecated.
Replace rtems_off64_t with off_t.
2011-11-06 11:50:21 +00:00
Ralf Corsepius
96406152d9
2011-10-18 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libcsupport/include/rtems/libio.h, libcsupport/src/termios.c:
Use size_t for sizes.
2011-10-18 14:37:47 +00:00
Ralf Corsepius
764d531b3b
2011-10-11 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libcsupport/src/termios.c,
libcsupport/include/rtems/termiostypes.h (rtems_termios_puts):
Use size_t for buffer size.
2011-10-11 07:57:46 +00:00
Joel Sherrill
58f3fab959
2011-07-22 Joel Sherrill <joel.sherrilL@OARcorp.com>
...
PR 1839/filesystem
* libcsupport/include/rtems/libio_.h, libcsupport/src/fchdir.c,
libcsupport/src/fdatasync.c, libcsupport/src/fpathconf.c,
libcsupport/src/fsync.c, libcsupport/src/ftruncate.c,
libcsupport/src/read.c, libcsupport/src/readv.c,
libcsupport/src/write.c, libcsupport/src/writev.c: Some calls did not
return proper status for permission errors or incorrectly permissions
at all.
2011-07-22 16:04:38 +00:00
Sebastian Huber
a2900a8b4b
2011-07-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* libcsupport/include/rtems/libio_.h: Added
rtems_filesystem_is_root_location().
* libfs/src/imfs/imfs_directory.c, libfs/src/imfs/imfs_eval.c,
libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_eval.c: Use
rtems_filesystem_is_root_location().
2011-07-21 12:03:26 +00:00
Joel Sherrill
21242c252a
2011-06-24 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* include/rtems/bspIo.h, include/rtems/concat.h,
include/rtems/endian.h, include/rtems/fs.h, include/rtems/irq.h,
include/rtems/pci.h, include/rtems/userenv.h,
libblock/include/rtems/flashdisk.h,
libblock/include/rtems/nvdisk-sram.h,
libblock/include/rtems/nvdisk.h, libcsupport/include/clockdrv.h,
libcsupport/include/console.h, libcsupport/include/iosupp.h,
libcsupport/include/spurious.h,
libcsupport/include/motorola/mc68230.h,
libcsupport/include/rtems/assoc.h, libcsupport/include/rtems/error.h,
libcsupport/include/rtems/framebuffer.h,
libcsupport/include/rtems/gxx_wrappers.h,
libcsupport/include/rtems/libcsupport.h,
libcsupport/include/rtems/libio_.h,
libcsupport/include/rtems/malloc.h,
libcsupport/include/rtems/termiostypes.h,
libcsupport/include/sys/statvfs.h, libcsupport/include/sys/termios.h,
libcsupport/include/sys/utsname.h, libcsupport/include/zilog/z8036.h,
libcsupport/include/zilog/z8530.h, libcsupport/include/zilog/z8536.h,
libfs/src/imfs/imfs.h, libfs/src/pipe/pipe.h,
libmisc/capture/capture-cli.h, libmisc/capture/capture.h,
libmisc/cpuuse/cpuuse.h, libmisc/devnull/devnull.h,
libmisc/devnull/devzero.h, libmisc/dumpbuf/dumpbuf.h,
libmisc/fb/fb.h, libmisc/fb/mw_uid.h, libmisc/mouse/mouse_parser.h,
libmisc/shell/shellconfig.h, libmisc/stringto/stringto.h,
libmisc/untar/untar.h, libnetworking/memory.h, posix/include/aio.h,
posix/include/mqueue.h, posix/include/semaphore.h,
posix/include/rtems/posix/aio_misc.h,
posix/include/rtems/posix/barrier.h,
posix/include/rtems/posix/cond.h, posix/include/rtems/posix/config.h,
posix/include/rtems/posix/key.h, posix/include/rtems/posix/mqueue.h,
posix/include/rtems/posix/mutex.h,
posix/include/rtems/posix/posixapi.h,
posix/include/rtems/posix/priority.h,
posix/include/rtems/posix/psignal.h,
posix/include/rtems/posix/pthread.h,
posix/include/rtems/posix/ptimer.h,
posix/include/rtems/posix/rwlock.h,
posix/include/rtems/posix/semaphore.h,
posix/include/rtems/posix/sigset.h,
posix/include/rtems/posix/spinlock.h,
posix/include/rtems/posix/threadsup.h,
posix/include/rtems/posix/time.h, posix/include/rtems/posix/timer.h,
posix/inline/rtems/posix/barrier.inl,
posix/inline/rtems/posix/cond.inl,
posix/inline/rtems/posix/mqueue.inl,
posix/inline/rtems/posix/mutex.inl,
posix/inline/rtems/posix/priority.inl,
posix/inline/rtems/posix/pthread.inl,
posix/inline/rtems/posix/rwlock.inl,
posix/inline/rtems/posix/semaphore.inl,
posix/inline/rtems/posix/spinlock.inl,
posix/inline/rtems/posix/timer.inl, rtems/mainpage.h,
rtems/include/rtems/rtems/barrier.h,
rtems/include/rtems/rtems/object.h,
rtems/include/rtems/rtems/timer.h,
rtems/inline/rtems/rtems/barrier.inl,
rtems/inline/rtems/rtems/timer.inl,
rtems/src/semtranslatereturncode.c, sapi/include/rtems/config.h,
sapi/include/rtems/fatal.h, sapi/include/rtems/mptables.h,
score/include/rtems/score/object.h,
score/include/rtems/score/priority.h,
score/inline/rtems/score/object.inl,
score/inline/rtems/score/priority.inl: Add @file Doxygen directives
and descriptions to files which originated with RTEMS. This improves
the file list page generated by Doxygen.
2011-06-24 17:52:58 +00:00
Joel Sherrill
4b72da419b
2011-06-17 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libcsupport/include/rtems/malloc.h, libmisc/stackchk/stackchk.h,
posix/include/rtems/posix/time.h, rtems/include/rtems/rtems/object.h,
score/include/rtems/score/apiext.h,
score/include/rtems/score/interr.h, score/include/rtems/score/mpci.h,
score/include/rtems/score/objectmp.h,
score/include/rtems/score/thread.h,
score/include/rtems/score/threadmp.h,
score/include/rtems/score/threadq.h,
score/include/rtems/score/timespec.h,
score/include/rtems/score/timestamp.h,
score/include/rtems/score/timestamp64.h,
score/include/rtems/score/tod.h,
score/include/rtems/score/watchdog.h,
score/include/rtems/score/wkspace.h: Make @brief formatting more
consistent.
* score/include/rtems/score/rbtree.h: Also reformat.
2011-06-17 14:55:27 +00:00
Sebastian Huber
18124551c3
2011-06-17 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* libcsupport/include/rtems/libio.h, cpukit/libcsupport/src/termios.c:
Added const qualifier to rtems_termios_enqueue_raw_characters().
Removed superfluous cast.
2011-06-17 12:34:37 +00:00
Ralf Corsepius
ee613aa252
Include <sys/cdefs.h> (Eliminate rtems/bsd/sys/cdefs.h).
2011-03-24 09:36:14 +00:00
Ralf Corsepius
e530f72f73
2011-02-24 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libcsupport/include/sys/statvfs.h: Remove include <sys/cdefs.h>
(unused). Add C++ guards. Declare functions extern.
2011-02-24 15:48:06 +00:00
Ralf Corsepius
253dde08b8
2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libcsupport/include/clockdrv.h, libcsupport/include/console.h,
libcsupport/include/spurious.h, libcsupport/include/rtems/error.h,
libcsupport/include/rtems/libcsupport.h: Add missing includes.
2011-02-23 14:27:15 +00:00
Sebastian Huber
ddb29e37c9
2011-02-17 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* libcsupport/src/rtems_heap_extend.c: New file.
* libcsupport/Makefile.am: Reflect change from above.
* libcsupport/include/rtems/malloc.h: Declare rtems_heap_extend().
* score/include/rtems/score/heap.h: Documentation.
2011-02-17 14:17:09 +00:00
Ralf Corsepius
46d6e7a9f1
2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* include/rtems/btimer.h: New.
* Makefile.am: Add rtems/btimer.h
* libcsupport/include/timerdrv.h: Reflect having split out functions
to rtems/btimer.h.
2011-02-09 06:15:53 +00:00
Joel Sherrill
9063a0e3c9
2010-08-27 Joel Sherrill <joel.sherrilL@OARcorp.com>
...
PR 1692/filesystem
* libcsupport/include/rtems/libio.h, libfs/src/devfs/devfs_eval.c,
libfs/src/imfs/imfs_eval.c: Fix implementation and use of
rtems_libio_is_valid_perms().
2010-08-27 17:32:59 +00:00
Ralf Corsepius
823a26fc22
2010-09-24 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libcsupport/include/sys/utsname.h: Remove times().
Remove unnecessary includes.
Introduce SYS_NMLN (From freebsd).
* libcsupport/src/utsname.c: Rework uname().
2010-08-24 05:51:51 +00:00
Sebastian Huber
4b9ddca40c
2010-08-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
PR 1671/cpukit
* libcsupport/include/rtems/gxx_wrappers.h: New file.
* libcsupport/Makefile.am, libcsupport/preinstall.am: Reflect change
above.
* libcsupport/src/gxx_wrappers.c: Include <rtems/gxx_wrappers.h>. Use
_Internal_error_Occurred() instead of rtems_panic().
* score/include/rtems/score/interr.h: Added
INTERNAL_ERROR_GXX_KEY_ADD_FAILED and
INTERNAL_ERROR_GXX_MUTEX_INIT_FAILED.
2010-08-23 07:59:38 +00:00
Joel Sherrill
bad55939df
2010-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
...
PR 1661/testing
* libcsupport/Makefile.am, libcsupport/include/rtems/libcsupport.h: Add
public methods to get/set malloc heap pointer so the tests do not
have to peer behind the API.
* libcsupport/src/mallocgetheapptr.c,
libcsupport/src/mallocsetheapptr.c: New files.
2010-08-10 13:15:30 +00:00
Sebastian Huber
de39b5127d
2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* libcsupport/include/rtems/libio_.h: Removed rtems_filesystem_null_handlers.
* libcsupport/src/fs_null_handlers.c: Removed file.
* libcsupport/Makefile.am: Reflect change above.
* libfs/src/nfsclient/src/nfs.c, libfs/src/imfs/imfs_creat.c,
libfs/src/imfs/imfs_init.c, libfs/src/imfs/miniimfs_init.c: Use
rtems_filesystem_handlers_default instead of
rtems_filesystem_null_handlers.
* libnetworking/lib/ftpfs.c, libnetworking/lib/tftpDriver.c:
Initialize handler and operations table with proper defaults.
2010-07-15 08:46:06 +00:00
Sebastian Huber
fd2b1634bb
2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* libcsupport/include/rtems/libio.h: Removed file_info and handlers
fields in rtems_libio_t.
* libcsupport/src/close.c, libcsupport/src/fcntl.c,
libcsupport/src/fdatasync.c, libcsupport/src/fstat.c,
libcsupport/src/fsync.c, libcsupport/src/ftruncate.c,
libcsupport/src/getdents.c, libcsupport/src/ioctl.c,
libcsupport/src/libio_sockets.c, libcsupport/src/lseek.c,
libcsupport/src/open.c, libcsupport/src/read.c,
libcsupport/src/readv.c, libcsupport/src/write.c,
libcsupport/src/writev.c, libfs/src/devfs/devclose.c,
libfs/src/devfs/devioctl.c, libfs/src/devfs/devopen.c,
libfs/src/devfs/devread.c, libfs/src/devfs/devwrite.c
libfs/src/dosfs/msdos_dir.c libfs/src/dosfs/msdos_file.c
libfs/src/imfs/deviceio.c libfs/src/imfs/imfs_directory.c
libfs/src/imfs/imfs_fifo.c libfs/src/imfs/memfile.c
libfs/src/nfsclient/src/nfs.c libfs/src/rfs/rtems-rfs-rtems-file.c
libfs/src/rfs/rtems-rfs-rtems.h libnetworking/lib/ftpfs.c: Reflect
changes above.
2010-07-15 08:10:48 +00:00
Sebastian Huber
1e01385ff0
2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* libcsupport/include/rtems/libio.h: Changed
rtems_filesystem_node_types_t to an enum. Declare
rtems_filesystem_handlers_default,
rtems_filesystem_operations_default,
rtems_filesystem_default_evalpath(),
rtems_filesystem_default_evalformake, and
rtems_filesystem_default_node_type().
* libfs/src/dosfs/msdos.h: Fixed msdos_node_type() prototype.
* libfs/src/defaults/default_evalformake.c,
libfs/src/defaults/default_handlers.c,
libfs/src/defaults/default_node_type.c,
libfs/src/defaults/default_ops.c: New files.
* libfs/Makefile.am: Reflect changes above.
2010-07-15 07:36:37 +00:00
Joel Sherrill
b637dbbf21
2010-07-03 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libcsupport/include/rtems/libio.h, libfs/src/defaults/default_read.c,
libfs/src/defaults/default_readlink.c,
libfs/src/rfs/rtems-rfs-rtems.c: Correct types and prototypes to
eliminate warnings.
2010-07-03 19:13:25 +00:00
Sebastian Huber
6c0fcd4a39
2010-07-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* libcsupport/include/rtems/libio_.h: Removed
rtems_filesystem_mount_table_control.
* libcsupport/include/rtems/libio.h, libcsupport/src/mount-mgr.c,
libcsupport/src/mount.c libcsupport/src/statvfs.c,
libcsupport/src/unmount.c, libmisc/shell/main_mount.c: Documentation.
Removed rtems_filesystem_mounts_first() and
rtems_filesystem_mounts_next(). Added
rtems_filesystem_mount_iterate(). Changed return type of
rtems_filesystem_iterate(). Removed rtems_filesystem_nodes_equal().
2010-07-01 13:05:18 +00:00
Joel Sherrill
7c658feb2e
2010-06-30 Joel Sherrill <joel.sherrilL@OARcorp.com>
...
PR 1472/cpukit
* libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
libcsupport/src/free.c, libcsupport/src/malloc.c,
libcsupport/src/malloc_initialize.c, libcsupport/src/realloc.c,
libcsupport/src/rtems_memalign.c: Remove malloc boundary code. It has
not been used since before 4.6 and is bitrotted.
* libcsupport/src/malloc_boundary.c: Removed.
2010-06-30 15:36:48 +00:00
Jennifer Averett
6683a58d6e
2010-06-30 Jennifer.Averett <Jennifer.Averett@OARcorp.com>
...
* libcsupport/include/rtems/libio.h, libfs/Makefile.am: Added
filesystem default mknod method.
* libfs/src/defaults/default_mknod.c: New file.
2010-06-30 13:58:56 +00:00
Jennifer Averett
dace9ed18b
2010-06-29 Jennifer.Averett <Jennifer.Averett@OARcorp.com>
...
* libcsupport/include/rtems/libio.h, libfs/Makefile.am,
libfs/src/defaults/default_chown.c,
libfs/src/defaults/default_evalpath.c,
libfs/src/defaults/default_freenode.c,
libfs/src/defaults/default_fsmount.c,
libfs/src/defaults/default_link.c,
libfs/src/defaults/default_mount.c,
libfs/src/defaults/default_rename.c,
libfs/src/defaults/default_statvfs.c,
libfs/src/defaults/default_symlink.c,
libfs/src/defaults/default_unlink.c,
libfs/src/defaults/default_utime.c, libfs/src/devfs/devfs_init.c,
libfs/src/dosfs/msdos_init.c, libfs/src/imfs/imfs_init.c,
libfs/src/nfsclient/src/nfs.c, libfs/src/rfs/rtems-rfs-rtems.c,
wrapup/Makefile.am: Fixed typo in default names. Added default
methods into filesystem tables.
* libfs/src/defaults/default_close.c,
libfs/src/defaults/default_evaluate_link.c,
libfs/src/defaults/default_fpathconf.c,
libfs/src/defaults/default_fsunmount.c,
libfs/src/defaults/default_open.c,
libfs/src/defaults/default_unmount.c: New files.
2010-06-29 19:37:28 +00:00
Joel Sherrill
1d33ecab00
2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libcsupport/include/rtems/error.h, libcsupport/src/error.c: Clean up
so rtems_panic() can be a noreturn method. This eliminates some
unreachable and thus untestable code.
2010-06-28 22:13:55 +00:00
Jennifer Averett
f9a4e80f86
2010-06-25 Jennifer Averett <Jennifer.Averett@OARcorp.com
...
* libcsupport/include/rtems/libio.h, libfs/Makefile.am: Added default
filesystem handlers.
* libfs/src/defaults/default_chown.c,
libfs/src/defaults/default_evalpath.c,
libfs/src/defaults/default_fchmod.c,
libfs/src/defaults/default_fcntl.c,
libfs/src/defaults/default_fdatasync.c,
libfs/src/defaults/default_freenode.c,
libfs/src/defaults/default_fsmount.c,
libfs/src/defaults/default_fstat.c,
libfs/src/defaults/default_fsync.c,
libfs/src/defaults/default_ftruncate.c,
libfs/src/defaults/default_ioctl.c,
libfs/src/defaults/default_link.c,
libfs/src/defaults/default_lseek.c,
libfs/src/defaults/default_mount.c,
libfs/src/defaults/default_read.c,
libfs/src/defaults/default_readlink.c,
libfs/src/defaults/default_rename.c,
libfs/src/defaults/default_rmnod.c,
libfs/src/defaults/default_statvfs.c,
libfs/src/defaults/default_symlink.c,
libfs/src/defaults/default_unlink.c,
libfs/src/defaults/default_utime.c,
libfs/src/defaults/default_write.c: New files.
2010-06-25 14:23:48 +00:00
Jennifer Averett
e525f66b09
2010-06-22 Jennifer Averett <Jennifer.Averett@OARcorp.com>
...
* libcsupport/Makefile.am, libcsupport/include/rtems/libio_.h: Moved
method to free a node from a define to an external method.
* libcsupport/src/freenode.c: New file.
2010-06-22 20:03:41 +00:00
Joel Sherrill
0de235f97f
2010-06-21 Joel Sherrill <joel.sherrilL@OARcorp.com>
...
PR 1581/cpukit
* libcsupport/include/rtems/malloc.h, sapi/include/confdefs.h: Remove
extra * on function pointer declaration.
2010-06-21 21:13:42 +00:00
Ralf Corsepius
19c6950a49
2010-06-14 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libcsupport/include/rtems/libio_.h: Fix broken doxygen
meta comment.
2010-06-14 13:35:45 +00:00
Ralf Corsepius
de93598d19
2010-06-13 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* include/rtems/tar.h, libcsupport/include/tar.h: Remove.
* configure.ac: Require toolchain to provide tar.h.
* libfs/src/imfs/imfs_load_tar.c, libmisc/untar/untar.h:
Use <tar.h> instead of <rtems/tar.h>.
2010-06-13 03:36:58 +00:00
Ralf Corsepius
d5b5a06684
2010-06-13 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libcsupport/include/rtems/libio.h: Fix typo in doxygen comment.
2010-06-13 03:02:26 +00:00
Sebastian Huber
b813d632b0
2010-06-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* libcsupport/src/mount-mktgt.c: New file.
* libcsupport/Makefile.am: Reflect change above.
* libcsupport/include/rtems/libio.h: Declare
mount_and_make_target_path().
2010-06-10 09:07:28 +00:00
Sebastian Huber
14fc3a77f8
2010-06-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* libcsupport/include/rtems/libio.h, sapi/include/confdefs.h: Added
and use defines for file system types.
2010-06-09 09:38:10 +00:00
Sebastian Huber
9da9cf4a87
2010-06-08 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* libcsupport/include/rtems/libio.h: Documentation.
2010-06-08 15:40:00 +00:00
Sebastian Huber
eaee27b0b9
2010-06-08 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
PR 1524/filesystem
* libcsupport/src/rtems_mkdir.c: New file.
* libcsupport/src/Makefile.am: Reflect change above.
* libcsupport/include/rtems/libio.h: Added rtems_mkdir().
* libmisc/fsmount/fsmount.h, libmisc/fsmount/fsmount.c,
libblock/src/bdpart-mount.c, libnetworking/rtems/mkrootfs.h,
libnetworking/rtems/mkrootfs.c, libfs/src/pipe/pipe.c: Use
rtems_mkdir(). Removed rtems_fsmount_create_mount_point() and
rtems_rootfs_mkdir().
2010-06-08 12:59:51 +00:00
Sebastian Huber
7d01d244d7
2010-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* libcsupport/include/rtems/libio_.h: Declare
rtems_filesystem_mount_table_control.
* libcsupport/include/rtems/libio.h: Removed
rtems_filesystem_table_first(), rtems_filesystem_table_next() and
rtems_filesystem_table_node_t declarations. Declare
rtems_per_filesystem_routine, rtems_filesystem_iterate() and
rtems_filesystem_get_mount_handler().
* libcsupport/src/mount.c: Added rtems_filesystem_mounts_first() and
rtems_filesystem_mounts_next(). Simplify mount(). Removed
rtems_filesystem_mount_table_control_init. Use
rtems_filesystem_get_mount_handler().
* libcsupport/src/mount-mgr.c: Removed rtems_filesystem_mounts_first() and
rtems_filesystem_mounts_next(). Added rtems_filesystem_iterate() and
rtems_filesystem_get_mount_handler(). Use rtems_libio_lock() and
rtems_libio_unlock();
* sapi/include/confdefs.h, libmisc/shell/main_mount.c: Update for
mount API changes.
2010-06-07 15:35:24 +00:00
Jennifer Averett
b79a45e9c0
2010-06-05 Bharath Suri <bharath.s.jois@gmail.com>
...
* libcsupport/include/rtems/libio_.h: Removed macros
rtems_filesystem_is_separator
rtems_filesystem_get_start_loc
rtems_filesystem_get_sym_start_loc
and added them as files under libcsupport/src/
* libcsupport/src/: Added new files
libcsupport/src/sup_fs_get_start_loc.c
libcsupport/src/sup_fs_get_sym_start_loc.c
libcsupport/src/sup_fs_is_separator.c
* libcsupport/Makefile.am: Changes to accommodate new
files under libcsupport/src/
2010-06-07 14:57:31 +00:00
Chris Johns
dfce6724fe
2010-06-01 Chris Johns <chrisj@rtems.org>
...
* libcsupport/include/rtems/libio.h: Make the struct name the same
as the typedef.
* sapi/include/confdefs.h: Fixes for use in C++.
2010-06-02 00:43:13 +00:00
Ralf Corsepius
8f67ada48a
2010-06-01 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libcsupport/include/rtems/libio.h, libcsupport/src/mount-mgr.c:
Add missing 'const'.
2010-06-01 10:42:52 +00:00
Joel Sherrill
aa61d53307
2010-05-31 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libcsupport/include/rtems/libio.h: Remove if 0 section. Formatting.
2010-05-31 20:18:04 +00:00
Chris Johns
29e92b090c
2010-05-31 Chris Johns <chrisj@rtems.org>
...
* 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.
2010-05-31 13:56:37 +00:00
Ralf Corsepius
fb1b349f94
2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libcsupport/include/rtems/libio.h:
Use size_t instead of int for pathnamelen.
2010-05-27 16:30:32 +00:00
Ralf Corsepius
a794000d0f
2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libcsupport/include/rtems/libio_.h, libcsupport/src/eval.c:
Use size_t instead of int for pathnamelen.
2010-05-27 16:29:37 +00:00
Sebastian Huber
068a8240c6
2010-04-30 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* libcsupport/include/rtems/libio_.h, libcsupport/src/envlock.c,
libcsupport/src/libio.c: Added and use rtems_libio_lock() and
rtems_libio_unlock(). Cleaned up includes and declarations. Do not
use RTEMS_NO_PRIORITY for unused ceiling priority in
rtems_semaphore_create().
2010-04-30 08:55:41 +00:00